Yea, this affects me as well. With the following patch, I was able to work around the problem. I am unfamiliar with bzr - so couldn't open a PR right away.
=== modified file 'exporter.py' --- exporter.py 2014-05-15 09:26:03 +0000 +++ exporter.py 2017-03-26 21:53:19 +0000 @@ -319,7 +319,7 @@ mark = 1 self.revid_to_mark[revid] = mark file_cmds = self._get_filecommands(bzrlib.revision.NULL_REVISION, revid) - self.print_cmd(self._get_commit_command(ref, mark, revobj, file_cmds)) + self.print_cmd(self._get_commit_command(ref, str(mark), revobj, file_cmds))
def emit_commit(self, revid, ref): if revid in self.revid_to_mark or revid in self.excluded_revisions: @@ -355,7 +355,7 @@ mark = ncommits + 1 self.revid_to_mark[revid] = mark file_cmds = self._get_filecommands(parent, revid) - self.print_cmd(self._get_commit_command(ref, mark, revobj, file_cmds)) + self.print_cmd(self._get_commit_command(ref, str(mark), revobj, file_cmds))
# Report progress and checkpoint if it's time for that self.report_progress(ncommits)
Yea, this affects me as well. With the following patch, I was able to work around the problem. I am unfamiliar with bzr - so couldn't open a PR right away.
=== modified file 'exporter.py'
self. revid_to_ mark[revid] = mark filecommands( bzrlib. revision. NULL_REVISION, revid) cmd(self. _get_commit_ command( ref, mark, revobj, file_cmds)) cmd(self. _get_commit_ command( ref, str(mark), revobj, file_cmds))
--- exporter.py 2014-05-15 09:26:03 +0000
+++ exporter.py 2017-03-26 21:53:19 +0000
@@ -319,7 +319,7 @@
mark = 1
file_cmds = self._get_
- self.print_
+ self.print_
def emit_commit(self, revid, ref): revisions:
self. revid_to_ mark[revid] = mark filecommands( parent, revid) cmd(self. _get_commit_ command( ref, mark, revobj, file_cmds)) cmd(self. _get_commit_ command( ref, str(mark), revobj, file_cmds))
if revid in self.revid_to_mark or revid in self.excluded_
@@ -355,7 +355,7 @@
mark = ncommits + 1
file_cmds = self._get_
- self.print_
+ self.print_
# Report progress and checkpoint if it's time for that
self. report_ progress( ncommits)