hgext/absorb.py
changeset 40150 1be1689d9ce9
parent 39786 d50125dec2c1
child 40187 dcda50856843
--- a/hgext/absorb.py	Thu Oct 11 19:02:42 2018 +0200
+++ b/hgext/absorb.py	Thu Oct 11 22:39:11 2018 -0400
@@ -727,9 +727,9 @@
 
     def _ctx2str(self, ctx):
         if self.ui.debugflag:
-            return ctx.hex()
+            return '%d:%s' % (ctx.rev(), ctx.hex())
         else:
-            return node.short(ctx.node())
+            return '%d:%s' % (ctx.rev(), node.short(ctx.node()))
 
     def _getnewfilecontents(self, ctx):
         """(ctx) -> {path: str}