# HG changeset patch # User timeless # Date 2015-12-22 06:02:01 # Node ID 51aff98d28611620a5e8418451c82c3db886caa3 # Parent 0d1452d71317e9432821e6a16eed7e06bc027b83 remove: quote --force in never deletes note Split Note into a note container diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -5750,8 +5750,10 @@ def remove(ui, repo, *pats, **opts): -Af R R R R ========= == == == == - Note that remove never deletes files in Added [A] state from the - working directory, not even if option --force is specified. + .. note:: + + :hg:`remove` never deletes files in Added [A] state from the + working directory, not even if ``--force`` is specified. Returns 0 on success, 1 if any warnings encountered. """ diff --git a/tests/test-help.t b/tests/test-help.t --- a/tests/test-help.t +++ b/tests/test-help.t @@ -2437,8 +2437,11 @@ Dish up an empty repo; serve it cold. R

- Note that remove never deletes files in Added [A] state from the - working directory, not even if option --force is specified. + Note: +

+

+ "hg remove" never deletes files in Added [A] state from the + working directory, not even if "--force" is specified.

Returns 0 on success, 1 if any warnings encountered.