mercurial/cmdutil.py
changeset 36406 fd2191d870ff
parent 36402 ef6ae3f64c23
child 36507 165cf86365ff
--- a/mercurial/cmdutil.py	Sat Feb 24 11:07:07 2018 -0800
+++ b/mercurial/cmdutil.py	Sat Feb 24 11:13:36 2018 -0800
@@ -2575,7 +2575,7 @@
     if not opts.get('close_branch'):
         for r in parents:
             if r.closesbranch() and r.branch() == branch:
-                repo.ui.status(_('reopening closed branch head %d\n') % r)
+                repo.ui.status(_('reopening closed branch head %d\n') % r.rev())
 
     if repo.ui.debugflag:
         repo.ui.write(_('committed changeset %d:%s\n') % (ctx.rev(), ctx.hex()))