# HG changeset patch # User Edouard Gomez # Date 1231033008 -3600 # Node ID 3742981341c1fe56b3360c926644ce85dd17269f # Parent 8c5afb3cdb67d90e48766be8c35faf3127cc13d0 convert/gnuarch: keep track of original revision in extra headers It seems to be standard to populate the .rev attribute of a commit to keep track of original SCM revision names. Just do it(tm). diff -r 8c5afb3cdb67 -r 3742981341c1 hgext/convert/gnuarch.py --- a/hgext/convert/gnuarch.py Sun Jan 04 02:36:48 2009 +0100 +++ b/hgext/convert/gnuarch.py Sun Jan 04 02:36:48 2009 +0100 @@ -141,7 +141,7 @@ def getcommit(self, rev): changes = self.changes[rev] return commit(author = changes.author, date = changes.date, - desc = changes.summary, parents = self.parents[rev]) + desc = changes.summary, parents = self.parents[rev], rev=rev) def gettags(self): return self.tags