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