hgext/transplant.py
changeset 36188 4e33aa8639d0
parent 36187 a9d1ac7b91a8
child 36189 2f309b8846cf
--- a/hgext/transplant.py	Wed Feb 14 17:39:56 2018 +0530
+++ b/hgext/transplant.py	Wed Feb 14 17:40:51 2018 +0530
@@ -161,7 +161,7 @@
             tr = repo.transaction('transplant')
             for rev in revs:
                 node = revmap[rev]
-                revstr = '%s:%s' % (rev, nodemod.short(node))
+                revstr = '%d:%s' % (rev, nodemod.short(node))
 
                 if self.applied(repo, node, p1):
                     self.ui.warn(_('skipping already applied revision %s\n') %
@@ -195,7 +195,7 @@
                 skipmerge = False
                 if parents[1] != revlog.nullid:
                     if not opts.get('parent'):
-                        self.ui.note(_('skipping merge changeset %s:%s\n')
+                        self.ui.note(_('skipping merge changeset %d:%s\n')
                                      % (rev, nodemod.short(node)))
                         skipmerge = True
                     else: