Show More
@@ -4981,8 +4981,7 b' def resolve(ui, repo, *pats, **opts):' | |||
|
4981 | 4981 | # this with the list/show operation because we want list/show to remain |
|
4982 | 4982 | # machine readable. |
|
4983 | 4983 | if not list(ms.unresolved()) and not show: |
|
4984 |
ui. |
|
|
4985 | ui.write(_('you may continue your unfinished operation\n')) | |
|
4984 | ui.status(_('no more unresolved files\n')) | |
|
4986 | 4985 | |
|
4987 | 4986 | return ret |
|
4988 | 4987 |
@@ -107,7 +107,7 b' should fail' | |||
|
107 | 107 | M a |
|
108 | 108 | ? a.orig |
|
109 | 109 | $ hg resolve -m a |
|
110 | no unresolved files; you may continue your unfinished operation | |
|
110 | no more unresolved files | |
|
111 | 111 | $ hg ci -m merge |
|
112 | 112 | |
|
113 | 113 | Issue683: peculiarity with hg revert of an removed then added file |
@@ -490,7 +490,7 b' Test usage of `hg resolve` in case of co' | |||
|
490 | 490 | merging foo |
|
491 | 491 | my foo@b71750c4b0fd+ other foo@a30dd8addae3 ancestor foo@913609522437 |
|
492 | 492 | premerge successful |
|
493 | no unresolved files; you may continue your unfinished operation | |
|
493 | no more unresolved files | |
|
494 | 494 | $ hg status |
|
495 | 495 | M foo |
|
496 | 496 | ? foo.orig |
@@ -586,7 +586,7 b' Amend a merge changeset (with renames an' | |||
|
586 | 586 | merging cc incomplete! (edit conflicts, then use 'hg resolve --mark') |
|
587 | 587 | [1] |
|
588 | 588 | $ hg resolve -m cc |
|
589 | no unresolved files; you may continue your unfinished operation | |
|
589 | no more unresolved files | |
|
590 | 590 | $ hg ci -m 'merge bar' |
|
591 | 591 | $ hg log --config diff.git=1 -pr . |
|
592 | 592 | changeset: 23:d51446492733 |
@@ -41,7 +41,7 b' Correct the conflict without marking the' | |||
|
41 | 41 | Mark the conflict as resolved and commit |
|
42 | 42 | |
|
43 | 43 | $ hg resolve -m A |
|
44 | no unresolved files; you may continue your unfinished operation | |
|
44 | no more unresolved files | |
|
45 | 45 | $ hg commit -m "Merged" |
|
46 | 46 | |
|
47 | 47 | $ cd .. |
@@ -352,7 +352,7 b' Branchy history' | |||
|
352 | 352 | [1] |
|
353 | 353 | $ hg --cwd b revert -r 2 b |
|
354 | 354 | $ hg --cwd b resolve -m b |
|
355 | no unresolved files; you may continue your unfinished operation | |
|
355 | no more unresolved files | |
|
356 | 356 | $ hg --cwd b ci -d '5 0' -m 'merge' |
|
357 | 357 | |
|
358 | 358 | Expect 4 changes |
@@ -154,7 +154,7 b' Test merge states' | |||
|
154 | 154 | b2 |
|
155 | 155 | $ echo e > b2 |
|
156 | 156 | $ hg resolve -m b2 |
|
157 | no unresolved files; you may continue your unfinished operation | |
|
157 | no more unresolved files | |
|
158 | 158 | $ fileset 'resolved()' |
|
159 | 159 | b2 |
|
160 | 160 | $ fileset 'unresolved()' |
@@ -220,7 +220,7 b' Fix up:' | |||
|
220 | 220 | |
|
221 | 221 | $ echo b > e |
|
222 | 222 | $ hg resolve -m e |
|
223 | no unresolved files; you may continue your unfinished operation | |
|
223 | no more unresolved files | |
|
224 | 224 | |
|
225 | 225 | Continue with a revision should fail: |
|
226 | 226 | |
@@ -355,7 +355,7 b' Resolve conflicted graft' | |||
|
355 | 355 | [255] |
|
356 | 356 | $ hg resolve --all |
|
357 | 357 | merging a |
|
358 | no unresolved files; you may continue your unfinished operation | |
|
358 | no more unresolved files | |
|
359 | 359 | $ hg graft -c |
|
360 | 360 | grafting revision 1 |
|
361 | 361 |
$ |
@@ -384,7 +384,7 b' Resolve conflicted graft with rename' | |||
|
384 | 384 | [255] |
|
385 | 385 | $ hg resolve --all |
|
386 | 386 | merging a and b to b |
|
387 | no unresolved files; you may continue your unfinished operation | |
|
387 | no more unresolved files | |
|
388 | 388 | $ hg graft -c |
|
389 | 389 | grafting revision 2 |
|
390 | 390 | $ hg export tip --git |
@@ -95,7 +95,7 b' edit the history' | |||
|
95 | 95 | fix up |
|
96 | 96 | $ echo 'I can haz no commute' > e |
|
97 | 97 | $ hg resolve --mark e |
|
98 | no unresolved files; you may continue your unfinished operation | |
|
98 | no more unresolved files | |
|
99 | 99 | $ cat > cat.py <<EOF |
|
100 | 100 | > import sys |
|
101 | 101 | > print open(sys.argv[1]).read() |
@@ -130,7 +130,7 b' fix up' | |||
|
130 | 130 | just continue this time |
|
131 | 131 | $ hg revert -r 'p1()' e |
|
132 | 132 | $ hg resolve --mark e |
|
133 | no unresolved files; you may continue your unfinished operation | |
|
133 | no more unresolved files | |
|
134 | 134 | $ hg histedit --continue 2>&1 | fixbundle |
|
135 | 135 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
136 | 136 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
@@ -217,7 +217,7 b' should effectively drop the changes from' | |||
|
217 | 217 | U file |
|
218 | 218 | $ hg revert -r 'p1()' file |
|
219 | 219 | $ hg resolve --mark file |
|
220 | no unresolved files; you may continue your unfinished operation | |
|
220 | no more unresolved files | |
|
221 | 221 | $ hg histedit --continue |
|
222 | 222 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
223 | 223 | saved backup bundle to $TESTTMP/*-backup.hg (glob) |
@@ -277,7 +277,7 b' dropped revision.' | |||
|
277 | 277 | > 5 |
|
278 | 278 | > EOF |
|
279 | 279 | $ hg resolve --mark file |
|
280 | no unresolved files; you may continue your unfinished operation | |
|
280 | no more unresolved files | |
|
281 | 281 | $ hg commit -m '+5.2' |
|
282 | 282 | created new head |
|
283 | 283 | $ echo 6 >> file |
@@ -154,7 +154,7 b' edit the history' | |||
|
154 | 154 | fix up |
|
155 | 155 | $ echo 'I can haz no commute' > e |
|
156 | 156 | $ hg resolve --mark e |
|
157 | no unresolved files; you may continue your unfinished operation | |
|
157 | no more unresolved files | |
|
158 | 158 | $ hg histedit --continue 2>&1 | fixbundle |
|
159 | 159 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
160 | 160 | merging e |
@@ -168,7 +168,7 b' former children.' | |||
|
168 | 168 | just continue this time |
|
169 | 169 | $ hg revert -r 'p1()' e |
|
170 | 170 | $ hg resolve --mark e |
|
171 | no unresolved files; you may continue your unfinished operation | |
|
171 | no more unresolved files | |
|
172 | 172 | $ hg histedit --continue 2>&1 | fixbundle |
|
173 | 173 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
174 | 174 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
@@ -241,7 +241,7 b' edit the history, this time with a fold ' | |||
|
241 | 241 | |
|
242 | 242 | $ echo 'I can haz no commute' > e |
|
243 | 243 | $ hg resolve --mark e |
|
244 | no unresolved files; you may continue your unfinished operation | |
|
244 | no more unresolved files | |
|
245 | 245 | $ hg histedit --continue 2>&1 | fixbundle |
|
246 | 246 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
247 | 247 | merging e |
@@ -251,7 +251,7 b' edit the history, this time with a fold ' | |||
|
251 | 251 | second edit also fails, but just continue |
|
252 | 252 | $ hg revert -r 'p1()' e |
|
253 | 253 | $ hg resolve --mark e |
|
254 | no unresolved files; you may continue your unfinished operation | |
|
254 | no more unresolved files | |
|
255 | 255 | $ hg histedit --continue 2>&1 | fixbundle |
|
256 | 256 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
257 | 257 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
@@ -1058,7 +1058,7 b' conflict: keyword should stay outside co' | |||
|
1058 | 1058 | resolve to local |
|
1059 | 1059 | |
|
1060 | 1060 | $ HGMERGE=internal:local hg resolve -a |
|
1061 | no unresolved files; you may continue your unfinished operation | |
|
1061 | no more unresolved files | |
|
1062 | 1062 | $ hg commit -m localresolve |
|
1063 | 1063 | $ cat m |
|
1064 | 1064 | $Id: m 800511b3a22d Thu, 01 Jan 1970 00:00:00 +0000 test $ |
@@ -132,7 +132,7 b' add some changesets to rename/remove/mer' | |||
|
132 | 132 | [1] |
|
133 | 133 | $ hg cat -r . sub/maybelarge.dat > stuff/maybelarge.dat |
|
134 | 134 | $ hg resolve -m stuff/maybelarge.dat |
|
135 | no unresolved files; you may continue your unfinished operation | |
|
135 | no more unresolved files | |
|
136 | 136 | $ hg commit -m"merge" |
|
137 | 137 | $ hg log -G --template "{rev}:{node|short} {desc|firstline}\n" |
|
138 | 138 | @ 5:4884f215abda merge |
@@ -990,7 +990,7 b' log -p -R repo' | |||
|
990 | 990 | [1] |
|
991 | 991 | $ echo 'merge 1' > foo |
|
992 | 992 | $ hg resolve -m foo |
|
993 | no unresolved files; you may continue your unfinished operation | |
|
993 | no more unresolved files | |
|
994 | 994 | $ hg ci -m "First merge, related" |
|
995 | 995 | |
|
996 | 996 | $ hg merge 4 |
@@ -1002,7 +1002,7 b' log -p -R repo' | |||
|
1002 | 1002 | [1] |
|
1003 | 1003 | $ echo 'merge 2' > foo |
|
1004 | 1004 | $ hg resolve -m foo |
|
1005 | no unresolved files; you may continue your unfinished operation | |
|
1005 | no more unresolved files | |
|
1006 | 1006 | $ hg ci -m "Last merge, related" |
|
1007 | 1007 | |
|
1008 | 1008 | $ hg log --graph |
@@ -50,7 +50,7 b' Symlink is local parent, executable is o' | |||
|
50 | 50 | a is a symlink: |
|
51 | 51 | a -> symlink |
|
52 | 52 | $ hg resolve a --tool internal:other |
|
53 | no unresolved files; you may continue your unfinished operation | |
|
53 | no more unresolved files | |
|
54 | 54 | $ tellmeabout a |
|
55 | 55 | a is an executable file with content: |
|
56 | 56 | a |
@@ -57,7 +57,7 b' resolve conflict' | |||
|
57 | 57 | > EOF |
|
58 | 58 | $ rm -f *.orig |
|
59 | 59 | $ hg resolve -m test.txt |
|
60 | no unresolved files; you may continue your unfinished operation | |
|
60 | no more unresolved files | |
|
61 | 61 | $ hg commit -m "Merge 1" |
|
62 | 62 | |
|
63 | 63 | change test-a again |
@@ -158,7 +158,7 b' plain headers' | |||
|
158 | 158 | merging a incomplete! (edit conflicts, then use 'hg resolve --mark') |
|
159 | 159 | 0 files updated, 0 files merged, 0 files removed, 1 files unresolved |
|
160 | 160 | use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon |
|
161 | no unresolved files; you may continue your unfinished operation | |
|
161 | no more unresolved files | |
|
162 | 162 | abort: cannot manage merge changesets |
|
163 | 163 | $ rm -r sandbox |
|
164 | 164 | |
@@ -232,7 +232,7 b' hg headers' | |||
|
232 | 232 | merging a incomplete! (edit conflicts, then use 'hg resolve --mark') |
|
233 | 233 | 0 files updated, 0 files merged, 0 files removed, 1 files unresolved |
|
234 | 234 | use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon |
|
235 | no unresolved files; you may continue your unfinished operation | |
|
235 | no more unresolved files | |
|
236 | 236 | abort: cannot manage merge changesets |
|
237 | 237 | $ rm -r sandbox |
|
238 | 238 |
@@ -168,7 +168,7 b' rebase --continue with bookmarks present' | |||
|
168 | 168 | [1] |
|
169 | 169 | $ echo 'c' > c |
|
170 | 170 | $ hg resolve --mark c |
|
171 | no unresolved files; you may continue your unfinished operation | |
|
171 | no more unresolved files | |
|
172 | 172 | $ hg rebase --continue |
|
173 | 173 | saved backup bundle to $TESTTMP/a3/.hg/strip-backup/3d5fa227f4b5-backup.hg (glob) |
|
174 | 174 | $ hg tglog |
@@ -76,7 +76,7 b' Solve the conflict and go on:' | |||
|
76 | 76 | $ echo 'conflict solved' > A |
|
77 | 77 | $ rm A.orig |
|
78 | 78 | $ hg resolve -m A |
|
79 | no unresolved files; you may continue your unfinished operation | |
|
79 | no more unresolved files | |
|
80 | 80 | $ hg rebase --continue |
|
81 | 81 | |
|
82 | 82 | $ hg tglog |
@@ -130,7 +130,7 b' Solve the conflict and go on:' | |||
|
130 | 130 |
$ |
|
131 | 131 |
$ |
|
132 | 132 | $ hg resolve -m A |
|
133 | no unresolved files; you may continue your unfinished operation | |
|
133 | no more unresolved files | |
|
134 | 134 | $ hg rebase --continue |
|
135 | 135 | saved backup bundle to $TESTTMP/a2/.hg/strip-backup/*-backup.hg (glob) |
|
136 | 136 |
@@ -77,7 +77,7 b' Conclude rebase:' | |||
|
77 | 77 | |
|
78 | 78 | $ echo 'resolved merge' >common |
|
79 | 79 | $ hg resolve -m common |
|
80 | no unresolved files; you may continue your unfinished operation | |
|
80 | no more unresolved files | |
|
81 | 81 | $ hg rebase --continue |
|
82 | 82 | saved backup bundle to $TESTTMP/a/.hg/strip-backup/*-backup.hg (glob) |
|
83 | 83 |
@@ -374,7 +374,7 b' Ensure --continue restores a correct sta' | |||
|
374 | 374 | unresolved conflicts (see hg resolve, then hg rebase --continue) |
|
375 | 375 | [1] |
|
376 | 376 | $ hg resolve --all -t internal:local |
|
377 | no unresolved files; you may continue your unfinished operation | |
|
377 | no more unresolved files | |
|
378 | 378 | $ hg rebase -c |
|
379 | 379 | saved backup bundle to $TESTTMP/a7/.hg/strip-backup/6215fafa5447-backup.hg (glob) |
|
380 | 380 | $ hg log -G --template "{rev}:{phase} '{desc}' {branches}\n" |
@@ -104,7 +104,7 b' Solve the conflict and go on:' | |||
|
104 | 104 | $ echo 'conflict solved' > A |
|
105 | 105 | $ rm A.orig |
|
106 | 106 | $ hg resolve -m A |
|
107 | no unresolved files; you may continue your unfinished operation | |
|
107 | no more unresolved files | |
|
108 | 108 | |
|
109 | 109 | $ hg rebase --continue |
|
110 | 110 | warning: new changesets detected on source branch, not stripping |
@@ -111,7 +111,7 b' already has one local mq patch' | |||
|
111 | 111 | [1] |
|
112 | 112 | |
|
113 | 113 | $ HGMERGE=internal:local hg resolve --all |
|
114 | no unresolved files; you may continue your unfinished operation | |
|
114 | no more unresolved files | |
|
115 | 115 | |
|
116 | 116 | $ hg rebase --continue |
|
117 | 117 | saved backup bundle to $TESTTMP/b/.hg/strip-backup/*-backup.hg (glob) |
@@ -69,7 +69,7 b' Fix the 1st conflict:' | |||
|
69 | 69 | |
|
70 | 70 | $ echo mq1r1 > f |
|
71 | 71 | $ hg resolve -m f |
|
72 | no unresolved files; you may continue your unfinished operation | |
|
72 | no more unresolved files | |
|
73 | 73 | $ hg rebase -c |
|
74 | 74 | merging f |
|
75 | 75 | warning: conflicts during merge. |
@@ -81,7 +81,7 b' Fix the 2nd conflict:' | |||
|
81 | 81 | |
|
82 | 82 |
$ |
|
83 | 83 | $ hg resolve -m f |
|
84 | no unresolved files; you may continue your unfinished operation | |
|
84 | no more unresolved files | |
|
85 | 85 | $ hg rebase -c |
|
86 | 86 | saved backup bundle to $TESTTMP/a/.hg/strip-backup/*-backup.hg (glob) |
|
87 | 87 |
@@ -454,7 +454,7 b' Test --tool parameter:' | |||
|
454 | 454 | U c2 |
|
455 | 455 | |
|
456 | 456 | $ hg resolve -m c2 |
|
457 | no unresolved files; you may continue your unfinished operation | |
|
457 | no more unresolved files | |
|
458 | 458 | $ hg rebase -c --tool internal:fail |
|
459 | 459 | tool option will be ignored |
|
460 | 460 | saved backup bundle to $TESTTMP/b3/.hg/strip-backup/*-backup.hg (glob) |
@@ -39,7 +39,7 b' resolve the failure' | |||
|
39 | 39 | |
|
40 | 40 | $ echo resolved > file |
|
41 | 41 | $ hg resolve -m file |
|
42 | no unresolved files; you may continue your unfinished operation | |
|
42 | no more unresolved files | |
|
43 | 43 | $ hg commit -m 'resolved' |
|
44 | 44 | |
|
45 | 45 | resolve -l should error since no merge in progress |
@@ -294,7 +294,7 b' attempt to continue' | |||
|
294 | 294 | |
|
295 | 295 | $ hg revert -r . a/a |
|
296 | 296 | $ hg resolve -m a/a |
|
297 | no unresolved files; you may continue your unfinished operation | |
|
297 | no more unresolved files | |
|
298 | 298 | |
|
299 | 299 | $ hg commit -m 'commit while unshelve in progress' |
|
300 | 300 | abort: unshelve already in progress |
General Comments 0
You need to be logged in to leave comments.
Login now