equal
deleted
inserted
replaced
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: |