# HG changeset patch # User Bryan O'Sullivan # Date 1196114491 28800 # Node ID ee80591f563618aeccbc07b42f0fd0f28bad2cc8 # Parent 253736bb0dc9bd9e32ede47e9bc0ec233c4e519b 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. diff -r 253736bb0dc9 -r ee80591f5636 hgext/convert/hg.py --- 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):