diff options
author | W. Trevor King <wking@drexel.edu> | 2010-12-06 08:54:25 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2010-12-06 08:54:25 -0500 |
commit | 22dd202ff4c0a1893f6e9f4d2b6aa1d4da3bf728 (patch) | |
tree | a6deb922aa28316ce2ca3cedbc64cb78dedb36ba | |
parent | b949962d938e3338288d1c06a1ae26b71c213ffe (diff) | |
download | bugseverywhere-22dd202ff4c0a1893f6e9f4d2b6aa1d4da3bf728.tar.gz |
Adjust `be show --xml` since changes to version_info after Bzr->Git migration.
-rw-r--r-- | libbe/command/show.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libbe/command/show.py b/libbe/command/show.py index 27be07c..33c898f 100644 --- a/libbe/command/show.py +++ b/libbe/command/show.py @@ -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 |