Show More
@@ -397,15 +397,15 b' def _statusotherbranchheads(ui, repo):' | |||||
397 | # ========= ========== |
|
397 | # ========= ========== | |
398 | otherheads = repo.revs('%ln - parents()', heads) |
|
398 | otherheads = repo.revs('%ln - parents()', heads) | |
399 | if repo['.'].closesbranch(): |
|
399 | if repo['.'].closesbranch(): | |
400 |
ui. |
|
400 | ui.warn(_('no open descendant heads on branch "%s", ' | |
401 | 'updating to a closed head\n') % |
|
401 | 'updating to a closed head\n') % | |
402 | (currentbranch)) |
|
402 | (currentbranch)) | |
403 | if otherheads: |
|
403 | if otherheads: | |
404 |
ui. |
|
404 | ui.warn(_('(committing will reopen the head, ' | |
405 | 'use `hg heads .` to see %i other heads)\n') % |
|
405 | 'use `hg heads .` to see %i other heads)\n') % | |
406 | (len(otherheads))) |
|
406 | (len(otherheads))) | |
407 | else: |
|
407 | else: | |
408 |
ui. |
|
408 | ui.warn(_('(committing will reopen branch "%s")\n') % | |
409 | (currentbranch)) |
|
409 | (currentbranch)) | |
410 | elif otherheads: |
|
410 | elif otherheads: | |
411 | ui.status(_('%i other heads for branch "%s"\n') % |
|
411 | ui.status(_('%i other heads for branch "%s"\n') % |
General Comments 0
You need to be logged in to leave comments.
Login now