mercurial/merge.py
changeset 31170 487ec7b096e2
parent 31169 955b3a6d3dd5
child 31171 351207bfdde9
--- a/mercurial/merge.py	Mon Feb 27 14:33:17 2017 -0800
+++ b/mercurial/merge.py	Mon Feb 27 14:58:53 2017 -0800
@@ -1468,15 +1468,18 @@
 
     This logic is tested by test-update-branches.t.
 
-    -c  -C  dirty  rev  |  linear   non-linear
-     n   n    n     n   |    ok         x
-     n   n    n     y   |    ok        ok
-     n   n    y     n   |   merge       x
-     n   n    y     y   |   merge      (1)
-     n   y    *     *   |   discard   discard
-     y   n    y     *   |    (2)       (2)
-     y   n    n     *   |    ok        ok
-     y   y    *     *   |    (3)       (3)
+    -c  -C  dirty  rev  linear  |  result
+     n   n    n     n     n     |     x
+     n   n    n     n     y     |    ok
+     n   n    n     y     *     |    ok
+     n   n    y     n     n     |     x
+     n   n    y     n     y     |   merge
+     n   n    y     y     n     |    (1)
+     n   n    y     y     y     |   merge
+     n   y    *     *     *     |  discard
+     y   n    y     *     *     |    (2)
+     y   n    n     *     *     |    ok
+     y   y    *     *     *     |    (3)
 
     x = can't happen
     * = don't-care