Show More
@@ -525,7 +525,7 b' def update(repo, node, branchmerge, forc' | |||||
525 | elif not overwrite: |
|
525 | elif not overwrite: | |
526 | if pa == p1 or pa == p2: # linear |
|
526 | if pa == p1 or pa == p2: # linear | |
527 | pass # all good |
|
527 | pass # all good | |
528 | elif wc.files() or wc.deleted(): |
|
528 | elif wc.dirty(missing=True): | |
529 | raise util.Abort(_("crosses branches (merge branches or use" |
|
529 | raise util.Abort(_("crosses branches (merge branches or use" | |
530 | " --clean to discard changes)")) |
|
530 | " --clean to discard changes)")) | |
531 | elif onode is None: |
|
531 | elif onode is None: |
General Comments 0
You need to be logged in to leave comments.
Login now