[Updated] D11852: update: reformat the `commands.update.check` help
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Fri Dec 3 14:53:30 UTC 2021
Closed by commit rHGf77e4daaf612: update: reformat the `commands.update.check` help (authored by marmoute).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D11852?vs=31297&id=31302
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D11852/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D11852
AFFECTED FILES
mercurial/helptext/config.txt
tests/test-help.t
CHANGE DETAILS
diff --git a/tests/test-help.t b/tests/test-help.t
--- a/tests/test-help.t
+++ b/tests/test-help.t
@@ -1517,26 +1517,38 @@
"commands.update.check"
Determines what level of checking 'hg update' will perform before
moving to a destination revision. Valid values are "abort", "none",
- "linear", and "noconflict". "abort" always fails if the working
- directory has uncommitted changes. "none" performs no checking, and
- may result in a merge with uncommitted changes. "linear" allows any
- update as long as it follows a straight line in the revision history,
- and may trigger a merge with uncommitted changes. "noconflict" will
- allow any update which would not trigger a merge with uncommitted
- changes, if any are present. (default: "linear")
+ "linear", and "noconflict".
+
+ - "abort" always fails if the working directory has uncommitted
+ changes.
+ - "none" performs no checking, and may result in a merge with
+ uncommitted changes.
+ - "linear" allows any update as long as it follows a straight line in
+ the revision history, and may trigger a merge with uncommitted
+ changes.
+ - "noconflict" will allow any update which would not trigger a merge
+ with uncommitted changes, if any are present.
+
+ (default: "linear")
$ hg help config.commands.update.check
"commands.update.check"
Determines what level of checking 'hg update' will perform before
moving to a destination revision. Valid values are "abort", "none",
- "linear", and "noconflict". "abort" always fails if the working
- directory has uncommitted changes. "none" performs no checking, and
- may result in a merge with uncommitted changes. "linear" allows any
- update as long as it follows a straight line in the revision history,
- and may trigger a merge with uncommitted changes. "noconflict" will
- allow any update which would not trigger a merge with uncommitted
- changes, if any are present. (default: "linear")
+ "linear", and "noconflict".
+
+ - "abort" always fails if the working directory has uncommitted
+ changes.
+ - "none" performs no checking, and may result in a merge with
+ uncommitted changes.
+ - "linear" allows any update as long as it follows a straight line in
+ the revision history, and may trigger a merge with uncommitted
+ changes.
+ - "noconflict" will allow any update which would not trigger a merge
+ with uncommitted changes, if any are present.
+
+ (default: "linear")
$ hg help config.ommands.update.check
diff --git a/mercurial/helptext/config.txt b/mercurial/helptext/config.txt
--- a/mercurial/helptext/config.txt
+++ b/mercurial/helptext/config.txt
@@ -513,13 +513,18 @@
``update.check``
Determines what level of checking :hg:`update` will perform before moving
to a destination revision. Valid values are ``abort``, ``none``,
- ``linear``, and ``noconflict``. ``abort`` always fails if the working
- directory has uncommitted changes. ``none`` performs no checking, and may
- result in a merge with uncommitted changes. ``linear`` allows any update
- as long as it follows a straight line in the revision history, and may
- trigger a merge with uncommitted changes. ``noconflict`` will allow any
- update which would not trigger a merge with uncommitted changes, if any
- are present.
+ ``linear``, and ``noconflict``.
+
+ - ``abort`` always fails if the working directory has uncommitted changes.
+
+ - ``none`` performs no checking, and may result in a merge with uncommitted changes.
+
+ - ``linear`` allows any update as long as it follows a straight line in the
+ revision history, and may trigger a merge with uncommitted changes.
+
+ - ``noconflict`` will allow any update which would not trigger a merge with
+ uncommitted changes, if any are present.
+
(default: ``linear``)
``update.requiredest``
To: marmoute, #hg-reviewers, Alphare
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20211203/24a92e12/attachment-0002.html>
More information about the Mercurial-patches
mailing list