diff options
Diffstat (limited to 'libbe/command/show.py')
-rw-r--r-- | libbe/command/show.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/libbe/command/show.py b/libbe/command/show.py index 27be07c..ea86191 100644 --- a/libbe/command/show.py +++ b/libbe/command/show.py @@ -1,4 +1,4 @@ -# Copyright (C) 2005-2010 Aaron Bentley <abentley@panoramicfeedback.com> +# Copyright (C) 2005-2011 Aaron Bentley <abentley@panoramicfeedback.com> # Gianluca Montecchi <gian@grys.it> # Thomas Gerigk <tgerigk@gmx.de> # Thomas Habets <thomas@habets.pp.se> @@ -58,9 +58,9 @@ class Show (libbe.command.Command): <be-xml> <version> <tag>...</tag> - <branch-nick>...</branch-nick> - <revno>...</revno> - <revision-id>...</revision-id> + <committer>...</committer> + <date>...</date> + <revision>...</revision> </version> <bug> <uuid>a</uuid> @@ -156,8 +156,7 @@ def _xml_header(encoding): '<be-xml>', ' <version>', ' <tag>%s</tag>' % libbe.version.version()] - for tag in ['branch-nick', 'revno', 'revision-id']: - value = libbe.version.version_info[tag.replace('-', '_')] + for tag,value in sorted(libbe.version.version_info.items()): lines.append(' <%s>%s</%s>' % (tag, value, tag)) lines.append(' </version>') return lines |