Yes I see what you mean. Here is an attempt at that. The branch_nick was removed as it will now render as part of the revision properties.
I couldn't test the XMLLineLogFormatter section but if you tell me I can make sure it is working; I tried setting up a pending merge scenario which is where I think it is called but perhaps I didn't get it right.
Yes I see what you mean. Here is an attempt at that. The branch_nick was removed as it will now render as part of the revision properties.
I couldn't test the XMLLineLogFormatter section but if you tell me I can make sure it is working; I tried setting up a pending merge scenario which is where I think it is called but perhaps I didn't get it right.
=== modified file 'logxml.py'
self. to_file. write(' <parent> %s</parent> ' % parent_id) rev.parent_ ids) > 0:
self. to_file. write(' </parents> ')
self. to_file. write(' <committer> %s</committer> ' % \
_escape_ cdata(revision. rev.committer) )
--- logxml.py 2010-12-15 18:27:12 +0000
+++ logxml.py 2010-12-31 04:05:49 +0000
@@ -150,15 +150,15 @@
if len(revision.
-
+
- try: file.write( '<branch- nick>%s< /branch- nick>' % \ cdata(revision. rev.properties[ 'branch- nick']) ) rev.properties: cdata(revision. rev.properties. get(revPropName , None)) file.write( "<%s>%s< %s>" % (revPropName, revPropVal, revPropName)) format_ date(revision. rev.timestamp,
revision. rev.timezone or 0,
self. show_timezone)
out. append( "<revno> %s</revno> " % revno)
out. append( "<revisionid> %s</revisionid> " % rev.revision_id) cdata(rev. properties. get(revPropName , None)) "<%s>%s< %s>" % (revPropName, revPropVal, revPropName))
out.append( '<committer> %s</committer> ' %
_ escape_ cdata(rev. committer) ) format_ date(rev. timestamp,
- self.to_
- _escape_
- except KeyError:
- pass
+ #Write out any arbitrary revision properties
+ for revPropName in revision.
+ revPropVal = _escape_
+ self.to_
+
date_str = osutils.
@@ -227,6 +227,12 @@
elif rev.revision_id:
+
+ #Write out any arbitrary revision properties
+ for revPropName in rev.properties:
+ revPropVal = _escape_
+ out.append(
+
date_str = osutils.