##// END OF EJS Templates
errors: raise StateError when there are unresolves merge conflicts...
Martin von Zweigbergk -
r46528:fa87536d default
parent child Browse files
Show More
@@ -14,6 +14,6 b' from . import error'
14 14
15 15 def checkunresolved(ms):
16 16 if list(ms.unresolved()):
17 raise error.Abort(
17 raise error.StateError(
18 18 _(b"unresolved merge conflicts (see 'hg help resolve')")
19 19 )
@@ -423,7 +423,7 b' Refuse to amend if there is a merge conf'
423 423
424 424 $ hg ci --amend
425 425 abort: unresolved merge conflicts (see 'hg help resolve')
426 [255]
426 [20]
427 427
428 428 $ hg up -qC .
429 429
@@ -101,7 +101,7 b' Correct the conflict without marking the'
101 101 $ echo "ABCD" > A
102 102 $ hg commit -m "Merged"
103 103 abort: unresolved merge conflicts (see 'hg help resolve')
104 [255]
104 [20]
105 105
106 106 Mark the conflict as resolved and commit
107 107
@@ -123,7 +123,7 b' Test that if a file is removed but not m'
123 123 $ hg rm --force A
124 124 $ hg commit -m merged
125 125 abort: unresolved merge conflicts (see 'hg help resolve')
126 [255]
126 [20]
127 127
128 128 $ hg resolve -ma
129 129 (no more unresolved files)
@@ -324,7 +324,7 b' Continue without resolve should fail:'
324 324 $ hg graft -c
325 325 grafting 4:9c233e8e184d "4"
326 326 abort: unresolved merge conflicts (see 'hg help resolve')
327 [255]
327 [20]
328 328
329 329 Fix up:
330 330
@@ -89,7 +89,7 b' Try to continue without solving the conf'
89 89
90 90 $ hg rebase --continue
91 91 abort: unresolved merge conflicts (see 'hg help resolve')
92 [255]
92 [20]
93 93
94 94 Conclude rebase:
95 95
@@ -348,7 +348,7 b' Try to make empty commit while there are'
348 348 $ rm a.orig
349 349 $ hg ci -m empty
350 350 abort: unresolved merge conflicts (see 'hg help resolve')
351 [255]
351 [20]
352 352 $ hg resolve -m a
353 353 (no more unresolved files)
354 354 $ hg resolve -l
General Comments 0
You need to be logged in to leave comments. Login now