diff options
author | Chris Ball <cjb@laptop.org> | 2011-01-08 20:39:48 -0500 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-01-08 20:39:48 -0500 |
commit | 81373db51acdd5639500569668c9333bf1f098cd (patch) | |
tree | b8ce0c38b7dc7af589c6ce32b73ef90eab5f7869 /libbe/command | |
parent | 66037fb14b06ab42eb37e6cc93d10c9717ce0d9e (diff) | |
parent | 49896ffd2bf821150cfdfcc2a0e8c26c1fb2defe (diff) | |
download | bugseverywhere-81373db51acdd5639500569668c9333bf1f098cd.tar.gz |
Merge branch 'master' of http://www.physics.drexel.edu/~wking/code/git/be
Diffstat (limited to 'libbe/command')
-rw-r--r-- | libbe/command/show.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/libbe/command/show.py b/libbe/command/show.py index 27be07c..b24aa94 100644 --- a/libbe/command/show.py +++ b/libbe/command/show.py @@ -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 |