mercurial/destutil.py
changeset 29964 40f845537dca
parent 29284 1c7167009936
child 30332 318a24b52eeb
equal deleted inserted replaced
29963:e824de573112 29964:40f845537dca
   414         if repo['.'].closesbranch():
   414         if repo['.'].closesbranch():
   415             ui.warn(_('no open descendant heads on branch "%s", '
   415             ui.warn(_('no open descendant heads on branch "%s", '
   416                         'updating to a closed head\n') %
   416                         'updating to a closed head\n') %
   417                       (currentbranch))
   417                       (currentbranch))
   418             if otherheads:
   418             if otherheads:
   419                 ui.warn(_('(committing will reopen the head, '
   419                 ui.warn(_("(committing will reopen the head, "
   420                             'use `hg heads .` to see %i other heads)\n') %
   420                             "use 'hg heads .' to see %i other heads)\n") %
   421                           (len(otherheads)))
   421                           (len(otherheads)))
   422             else:
   422             else:
   423                 ui.warn(_('(committing will reopen branch "%s")\n') %
   423                 ui.warn(_('(committing will reopen branch "%s")\n') %
   424                           (currentbranch))
   424                           (currentbranch))
   425         elif otherheads:
   425         elif otherheads: