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.
--- 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):