Show More
@@ -373,7 +373,7 b' def update(repo, node, branchmerge, forc' | |||||
373 | if wc.files() or wc.deleted(): |
|
373 | if wc.files() or wc.deleted(): | |
374 | raise util.Abort(_("crosses branches (use 'hg merge' or " |
|
374 | raise util.Abort(_("crosses branches (use 'hg merge' or " | |
375 | "'hg update -C' to discard changes)")) |
|
375 | "'hg update -C' to discard changes)")) | |
376 | raise util.Abort(_("crosses branches (use 'hg merge'" |
|
376 | raise util.Abort(_("crosses branches (use 'hg merge' " | |
377 | "or 'hg update -C')")) |
|
377 | "or 'hg update -C')")) | |
378 | elif wc.files() or wc.deleted(): |
|
378 | elif wc.files() or wc.deleted(): | |
379 | raise util.Abort(_("crosses named branches (use " |
|
379 | raise util.Abort(_("crosses named branches (use " |
@@ -4,4 +4,4 b' created new head' | |||||
4 | % should abort |
|
4 | % should abort | |
5 | abort: crosses branches (use 'hg merge' or 'hg update -C' to discard changes) |
|
5 | abort: crosses branches (use 'hg merge' or 'hg update -C' to discard changes) | |
6 | % should succeed |
|
6 | % should succeed | |
7 | abort: crosses branches (use 'hg merge'or 'hg update -C') |
|
7 | abort: crosses branches (use 'hg merge' or 'hg update -C') |
General Comments 0
You need to be logged in to leave comments.
Login now