projects
/
be.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b949962
)
Adjust `be show --xml` since changes to version_info after Bzr->Git migration.
author
W. Trevor King
<wking@drexel.edu>
Mon, 6 Dec 2010 13:54:25 +0000
(08:54 -0500)
committer
W. Trevor King
<wking@drexel.edu>
Mon, 6 Dec 2010 13:54:25 +0000
(08:54 -0500)
libbe/command/show.py
patch
|
blob
|
history
diff --git
a/libbe/command/show.py
b/libbe/command/show.py
index 27be07c7d792a8a31995f812818a1eda58655a84..33c898f1afb6d57fd03d3f8e0e89d61d16a4f209 100644
(file)
--- 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