changeset 5553:ee80591f5636

convert: save hg revision during a convert This breaks hg->hg hash roundtripping, but that was fragile, didn't work reliably, and hence arguably of little value.
author Bryan O'Sullivan <bos@serpentine.com>
date Mon, 26 Nov 2007 14:01:31 -0800
parents 253736bb0dc9
children 2147a734dcf9
files hgext/convert/hg.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/convert/hg.py	Tue Nov 20 15:54:25 2007 -0600
+++ b/hgext/convert/hg.py	Mon Nov 26 14:01:31 2007 -0800
@@ -241,7 +241,7 @@
         ctx = self.changectx(rev)
         parents = [hex(p.node()) for p in ctx.parents() if p.node() != nullid]
         return commit(author=ctx.user(), date=util.datestr(ctx.date()),
-                      desc=ctx.description(), parents=parents,
+                      desc=ctx.description(), rev=rev, parents=parents,
                       branch=ctx.branch(), extra=ctx.extra())
 
     def gettags(self):