[RFC] tags in log output

Erik Bågfors zindar at gmail.com
Thu Apr 5 10:57:53 BST 2007


The attached bundle implements showing tags in log output.  I don't
know if this is the best way to implement it, but it was simple and it
works.

The output will look something like this:
------------------------------------------------------------
revno: 2389
committer: Erik Bagfors <erik at bagfors.nu>
tags: testtag3
branch nick: bzr.taglogs
timestamp: Wed 2007-04-04 21:27:18 +0200
message:
  created reverse_tag_dict in tags.py
------------------------------------------------------------
revno: 2388
committer: Canonical.com Patch Queue Manager<pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Fri 2007-03-30 07:40:22 +0100
message:
  (robertc) Remove the --basis parameter to clone etc. (Robert Collins)
    ------------------------------------------------------------
    revno: 2387.1.2
    merged: robertc at robertcollins.net-20070330060600-c3p4tucl0q77al2d
    committer: Robert Collins <robertc at robertcollins.net>
    tags: testtag1 testtag2
    branch nick: unbasis
    timestamp: Fri 2007-03-30 16:06:00 +1000
    message:
      Mention fixed bugs as per reviewer feedback.

As you can see, tags are shown after the committer.  Perhaps it should
be directly after the revno, or perhaps even on the same line as the
revno? It also currently does not wrap there are too many tags to one
revision.

Please comment.

Regards,
Erik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: taglogs.patch
Type: application/octet-stream
Size: 12921 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070405/2c235e42/attachment.obj 


More information about the bazaar mailing list