Show More
@@ -577,7 +577,8 b' def update(repo, node, branchmerge, forc' | |||||
577 | folding = not util.checkcase(repo.path) |
|
577 | folding = not util.checkcase(repo.path) | |
578 | if folding: |
|
578 | if folding: | |
579 | # collision check is not needed for clean update |
|
579 | # collision check is not needed for clean update | |
580 |
if not branchmerge and |
|
580 | if (not branchmerge and | |
|
581 | (force or not wc.dirty(missing=True, branch=False))): | |||
581 | _checkcollision(p2, None) |
|
582 | _checkcollision(p2, None) | |
582 | else: |
|
583 | else: | |
583 | _checkcollision(p2, wc) |
|
584 | _checkcollision(p2, wc) |
@@ -143,14 +143,14 b' test for rename awareness of case-foldin' | |||||
143 | $ hg commit -m '#2' |
|
143 | $ hg commit -m '#2' | |
144 |
|
144 | |||
145 | $ hg update 0 |
|
145 | $ hg update 0 | |
146 | abort: case-folding collision between a and A |
|
146 | 1 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
147 | [255] |
|
|||
148 | $ hg parents --template '{rev}\n' |
|
147 | $ hg parents --template '{rev}\n' | |
149 |
|
|
148 | 0 | |
150 | $ hg status -A |
|
149 | $ hg status -A | |
151 |
C |
|
150 | C a | |
152 | $ cat A |
|
151 | $ cat A | |
153 |
|
|
152 | a | |
|
153 | $ hg up -qC 2 | |||
154 |
|
154 | |||
155 | $ hg update --check 0 |
|
155 | $ hg update --check 0 | |
156 | 1 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
156 | 1 files updated, 0 files merged, 1 files removed, 0 files unresolved |
General Comments 0
You need to be logged in to leave comments.
Login now