comparison mercurial/help/config.txt @ 27949:7b7e16158c35 stable

merge: undocument checkunknown and checkignored configs for 3.7 We've discovered an issue with this flag during certain kinds of rebases. When: (1) we're rebasing while currently on the destination commit, and (2) an untracked or ignored file F is currently in the working copy, and (3) the same file F is in a source commit, and (4) F has different contents in the source commit, then we'll try to merge the file rather than overwrite it. An earlier patch I sent honored the options for these situations as well. Unfortunately, rebases go through the same flow as the old, deprecated 'hg merge --force'. We'd rather not make any changes to 'hg merge --force' behavior, and there's no way from this point in the code to figure out whether we're in 'hg rebase' or 'hg merge --force'. Pierre-Yves David and I came up with the idea to split the 'force' flag up into 'force' for rebases, and 'forcemerge' for merge. Since this is a very disruptive change and we're in freeze mode, simply undocument the options for this release so that our hands aren't tied by BC concerns. We'll redocument them in the next release.
author Siddharth Agarwal <sid0@fb.com>
date Wed, 27 Jan 2016 12:33:07 -0800
parents 2d6a89e79b48
children 0ec12435b78b
comparison
equal deleted inserted replaced
27948:7cb7264cfd52 27949:7b7e16158c35
1004 1004
1005 ``always`` 1005 ``always``
1006 Optional. Always use the proxy, even for localhost and any entries 1006 Optional. Always use the proxy, even for localhost and any entries
1007 in ``http_proxy.no``. (default: False) 1007 in ``http_proxy.no``. (default: False)
1008 1008
1009 ``merge``
1010 ---------
1011
1012 This section specifies behavior during merges and updates.
1013
1014 ``checkignored``
1015 Controls behavior when an ignored file on disk has the same name as a tracked
1016 file in the changeset being merged or updated to, and has different
1017 contents. Options are ``abort``, ``warn`` and ``ignore``. With ``abort``,
1018 abort on such files. With ``warn``, warn on such files and back them up as
1019 .orig. With ``ignore``, don't print a warning and back them up as
1020 .orig. (default: ``abort``)
1021
1022 ``checkunknown``
1023 Controls behavior when an unknown file that isn't ignored has the same name
1024 as a tracked file in the changeset being merged or updated to, and has
1025 different contents. Similar to ``merge.checkignored``, except for files that
1026 are not ignored. (default: ``abort``)
1027
1028 ``merge-patterns`` 1009 ``merge-patterns``
1029 ------------------ 1010 ------------------
1030 1011
1031 This section specifies merge tools to associate with particular file 1012 This section specifies merge tools to associate with particular file
1032 patterns. Tools matched here will take precedence over the default 1013 patterns. Tools matched here will take precedence over the default