hgext/rebase.py
changeset 34009 79ab5369d55a
parent 34008 9422107a6b64
child 34092 8a8e7a94ba07
--- a/hgext/rebase.py	Sun Aug 27 02:47:47 2017 -0700
+++ b/hgext/rebase.py	Tue Aug 29 17:51:54 2017 -0700
@@ -407,10 +407,7 @@
                     msg = _('note: not rebasing %s, it has no '
                             'successor\n') % desc
                 else:
-                    succctx = repo[succ]
-                    succdesc = '%d:%s "%s"' % (
-                        succctx.rev(), succctx,
-                        succctx.description().split('\n', 1)[0])
+                    succdesc = _ctxdesc(repo[succ])
                     msg = (_('note: not rebasing %s, already in '
                              'destination as %s\n') % (desc, succdesc))
                 repo.ui.status(msg)