From 22dd202ff4c0a1893f6e9f4d2b6aa1d4da3bf728 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Mon, 6 Dec 2010 08:54:25 -0500 Subject: Adjust `be show --xml` since changes to version_info after Bzr->Git migration. --- libbe/command/show.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libbe') 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): '', ' ', ' %s' % 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' % (tag, value, tag)) lines.append(' ') return lines -- cgit