Mercurial > hg
diff contrib/dumprevlog @ 7361:9fe97eea5510
linkrev: take a revision number rather than a hash
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 12 Nov 2008 15:19:14 -0600 |
parents | fb42030d79d6 |
children | 659f34b833b9 |
line wrap: on
line diff
--- a/contrib/dumprevlog Thu Nov 13 10:11:32 2008 +0100 +++ b/contrib/dumprevlog Wed Nov 12 15:19:14 2008 -0600 @@ -17,7 +17,7 @@ p = r.parents(n) d = r.revision(n) print "node:", node.hex(n) - print "linkrev:", r.linkrev(n) + print "linkrev:", r.linkrev(i) print "parents:", node.hex(p[0]), node.hex(p[1]) print "length:", len(d) print "-start-"