# HG changeset patch # User Martin von Zweigbergk # Date 1488238174 28800 # Node ID f21a77fe76375d2b094a62166b40b9124bde5397 # Parent e72ed22713ab68e9030527553e5a391afefc1b67 merge: clarify non-linear default updates in docstring table Non-linear updates won't happen by default, regardless of -c/-C. diff -r e72ed22713ab -r f21a77fe7637 mercurial/merge.py --- a/mercurial/merge.py Mon Feb 27 15:02:36 2017 -0800 +++ b/mercurial/merge.py Mon Feb 27 15:29:34 2017 -0800 @@ -1464,13 +1464,13 @@ The table below shows all the behaviors of the update command given the -c and -C or no options, whether the working directory is dirty, whether a revision is specified, and the relationship of - the parent rev to the target rev (linear or not). + the parent rev to the target rev (linear or not). Match from top first. This logic is tested by test-update-branches.t. -c -C dirty rev linear | result y y * * * | (1) - n n * n n | x + * * * n n | x n n n n y | ok n n n y * | ok n n y n y | merge