Show More
@@ -1470,23 +1470,20 def update(repo, node, branchmerge, forc | |||||
1470 | This logic is tested by test-update-branches.t. |
|
1470 | This logic is tested by test-update-branches.t. | |
1471 |
|
1471 | |||
1472 | -c -C dirty rev | linear same cross |
|
1472 | -c -C dirty rev | linear same cross | |
1473 |
n n n n | ok |
|
1473 | n n n n | ok x x | |
1474 | n n n y | ok ok ok |
|
1474 | n n n y | ok ok ok | |
1475 |
n n y n | merge |
|
1475 | n n y n | merge x x | |
1476 |
n n y y | merge ( |
|
1476 | n n y y | merge (1) (1) | |
1477 | n y * * | discard discard discard |
|
1477 | n y * * | discard discard discard | |
1478 |
y n y * | ( |
|
1478 | y n y * | (2) (2) (2) | |
1479 | y n n * | ok ok ok |
|
1479 | y n n * | ok ok ok | |
1480 |
y y * * | ( |
|
1480 | y y * * | (3) (3) (3) | |
1481 |
|
1481 | |||
1482 | x = can't happen |
|
1482 | x = can't happen | |
1483 | * = don't-care |
|
1483 | * = don't-care | |
1484 | 1 = abort: not a linear update (merge or update --check to force update) |
|
1484 | 1 = abort: uncommitted changes (commit or update --clean to discard changes) | |
1485 |
2 = abort: uncommitted changes (c |
|
1485 | 2 = abort: uncommitted changes (checked in commands.py) | |
1486 | discard changes) |
|
1486 | 3 = incompatible options (checked in commands.py) | |
1487 | 3 = abort: uncommitted changes (commit or update --clean to discard changes) |
|
|||
1488 | 4 = abort: uncommitted changes (checked in commands.py) |
|
|||
1489 | 5 = incompatible options (checked in commands.py) |
|
|||
1490 |
|
1487 | |||
1491 | Return the same tuple as applyupdates(). |
|
1488 | Return the same tuple as applyupdates(). | |
1492 | """ |
|
1489 | """ |
General Comments 0
You need to be logged in to leave comments.
Login now