diff options
-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 |