xmloutput for xmllog does not include fixes or bugs information
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bzr-xmloutput |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Not a bug but more of a wish item but bzr xmllog does not include the fixes information when commits using the fixes feature.
bzr commit --fixes=ABC123
Would be nice. Below is a patch for logxml.py that supports this, but this is my first python/bazaar experience so it is more a proof of concept than a real fix.
=== modified file logxml.py
--- logxml.py 2010-09-05 17:40:26 +0000
+++ logxml.py 2010-11-19 06:02:09 +0000
@@ -150,6 +150,14 @@
if len(revision.
+
+ #show bigs (fixes) only when exists
+ bug_property = revision.
+ if bug_property:
+ for line in bug_property.
+ self.to_
+ self.to_
+ self.to_
@@ -227,6 +235,15 @@
elif rev.revision_id:
+
+ #show bigs (fixes) only when exists
+ bug_property = rev.properties.
+ if bug_property:
+ for line in bug_property.
+ out.append(
+ out.append(
+ out.append(
+
date_str = osutils.
I wonder if it wouldn't make more sense to include the revision properties verbatim. That would also make the authors accessible.