mercurial/destutil.py
changeset 32718 1b5c61d38a52
parent 32420 b9942bc6b292
child 33148 4f49810a1011
--- a/mercurial/destutil.py	Fri May 19 20:29:11 2017 -0700
+++ b/mercurial/destutil.py	Tue Jun 06 22:17:39 2017 +0530
@@ -391,6 +391,9 @@
                 ui.warn(_('(committing will reopen branch "%s")\n') %
                           (currentbranch))
         elif otherheads:
+            curhead = repo['.']
+            ui.status(_('updated to "%s: %s"\n') % (curhead,
+                                    curhead.description().split('\n')[0]))
             ui.status(_('%i other heads for branch "%s"\n') %
                       (len(otherheads), currentbranch))