##// END OF EJS Templates
merge: hint about using `hg resolve` for resolving conflicts...
Martin von Zweigbergk -
r43072:7b80ad5a default
parent child Browse files
Show More
@@ -2025,7 +2025,8 b' def update(repo, node, branchmerge, forc'
2025 raise error.Abort(_("outstanding uncommitted merge"))
2025 raise error.Abort(_("outstanding uncommitted merge"))
2026 ms = mergestate.read(repo)
2026 ms = mergestate.read(repo)
2027 if list(ms.unresolved()):
2027 if list(ms.unresolved()):
2028 raise error.Abort(_("outstanding merge conflicts"))
2028 raise error.Abort(_("outstanding merge conflicts"),
2029 hint=_("use 'hg resolve' to resolve"))
2029 if branchmerge:
2030 if branchmerge:
2030 if pas == [p2]:
2031 if pas == [p2]:
2031 raise error.Abort(_("merging with a working directory ancestor"
2032 raise error.Abort(_("merging with a working directory ancestor"
@@ -506,6 +506,7 b" Retrying without in-memory merge won't l"
506 $ hg rebase -s 2 -d 7
506 $ hg rebase -s 2 -d 7
507 rebasing 2:177f92b77385 "c"
507 rebasing 2:177f92b77385 "c"
508 abort: outstanding merge conflicts
508 abort: outstanding merge conflicts
509 (use 'hg resolve' to resolve)
509 [255]
510 [255]
510 $ hg resolve -l
511 $ hg resolve -l
511 U e
512 U e
@@ -210,12 +210,15 b' can not update or merge when there are u'
210 [1]
210 [1]
211 $ hg up 0
211 $ hg up 0
212 abort: outstanding merge conflicts
212 abort: outstanding merge conflicts
213 (use 'hg resolve' to resolve)
213 [255]
214 [255]
214 $ hg merge 2
215 $ hg merge 2
215 abort: outstanding merge conflicts
216 abort: outstanding merge conflicts
217 (use 'hg resolve' to resolve)
216 [255]
218 [255]
217 $ hg merge --force 2
219 $ hg merge --force 2
218 abort: outstanding merge conflicts
220 abort: outstanding merge conflicts
221 (use 'hg resolve' to resolve)
219 [255]
222 [255]
220
223
221 set up conflict-free merge
224 set up conflict-free merge
General Comments 0
You need to be logged in to leave comments. Login now