Show More
@@ -457,7 +457,8 b' def update(repo, node, branchmerge, forc' | |||
|
457 | 457 | raise util.Abort(_("nothing to merge (use 'hg update'" |
|
458 | 458 | " or check 'hg heads')")) |
|
459 | 459 | if not force and (wc.files() or wc.deleted()): |
|
460 |
raise util.Abort(_("outstanding uncommitted changes" |
|
|
460 | raise util.Abort(_("outstanding uncommitted changes " | |
|
461 | "(use 'hg status' to list changes)")) | |
|
461 | 462 | elif not overwrite: |
|
462 | 463 | if pa == p1 or pa == p2: # linear |
|
463 | 464 | pass # all good |
@@ -1,6 +1,6 b'' | |||
|
1 | 1 | created new head |
|
2 | 2 | % local deleted a file, remote removed |
|
3 | abort: outstanding uncommitted changes | |
|
3 | abort: outstanding uncommitted changes (use 'hg status' to list changes) | |
|
4 | 4 | resolving manifests |
|
5 | 5 | removing a |
|
6 | 6 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
@@ -40,7 +40,7 b' created new head' | |||
|
40 | 40 | Contents of b should be "this is file b1" |
|
41 | 41 | This is file b1 |
|
42 | 42 | %% merge fails |
|
43 | abort: outstanding uncommitted changes | |
|
43 | abort: outstanding uncommitted changes (use 'hg status' to list changes) | |
|
44 | 44 | %% merge expected! |
|
45 | 45 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
46 | 46 | (branch merge, don't forget to commit) |
@@ -54,7 +54,7 b' M b' | |||
|
54 | 54 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
55 | 55 | created new head |
|
56 | 56 | %% merge of b should fail |
|
57 | abort: outstanding uncommitted changes | |
|
57 | abort: outstanding uncommitted changes (use 'hg status' to list changes) | |
|
58 | 58 | %% merge of b expected |
|
59 | 59 | merging for b |
|
60 | 60 | merging b |
@@ -107,7 +107,7 b' summary: 2' | |||
|
107 | 107 | |
|
108 | 108 | abort: crosses branches (use 'hg merge' or 'hg update -C' to discard changes) |
|
109 | 109 | failed |
|
110 | abort: outstanding uncommitted changes | |
|
110 | abort: outstanding uncommitted changes (use 'hg status' to list changes) | |
|
111 | 111 | failed |
|
112 | 112 | resolving manifests |
|
113 | 113 | overwrite False partial False |
General Comments 0
You need to be logged in to leave comments.
Login now