mercurial/destutil.py
changeset 32718 1b5c61d38a52
parent 32420 b9942bc6b292
child 33148 4f49810a1011
equal deleted inserted replaced
32717:19b9fc40cc51 32718:1b5c61d38a52
   389                           (len(otherheads)))
   389                           (len(otherheads)))
   390             else:
   390             else:
   391                 ui.warn(_('(committing will reopen branch "%s")\n') %
   391                 ui.warn(_('(committing will reopen branch "%s")\n') %
   392                           (currentbranch))
   392                           (currentbranch))
   393         elif otherheads:
   393         elif otherheads:
       
   394             curhead = repo['.']
       
   395             ui.status(_('updated to "%s: %s"\n') % (curhead,
       
   396                                     curhead.description().split('\n')[0]))
   394             ui.status(_('%i other heads for branch "%s"\n') %
   397             ui.status(_('%i other heads for branch "%s"\n') %
   395                       (len(otherheads), currentbranch))
   398                       (len(otherheads), currentbranch))
   396 
   399 
   397 def statusotherdests(ui, repo):
   400 def statusotherdests(ui, repo):
   398     """Print message about other head"""
   401     """Print message about other head"""