Mercurial > hg-stable
changeset 27489:51aff98d2861
remove: quote --force in never deletes note
Split Note into a note container
author | timeless <timeless@mozdev.org> |
---|---|
date | Tue, 22 Dec 2015 06:02:01 +0000 |
parents | 0d1452d71317 |
children | fe376159a58d |
files | mercurial/commands.py tests/test-help.t |
diffstat | 2 files changed, 9 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Tue Dec 22 06:03:10 2015 +0000 +++ b/mercurial/commands.py Tue Dec 22 06:02:01 2015 +0000 @@ -5750,8 +5750,10 @@ -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. """
--- a/tests/test-help.t Tue Dec 22 06:03:10 2015 +0000 +++ b/tests/test-help.t Tue Dec 22 06:02:01 2015 +0000 @@ -2437,8 +2437,11 @@ <td>R</td></tr> </table> <p> - Note that remove never deletes files in Added [A] state from the - working directory, not even if option --force is specified. + <b>Note:</b> + </p> + <p> + "hg remove" never deletes files in Added [A] state from the + working directory, not even if "--force" is specified. </p> <p> Returns 0 on success, 1 if any warnings encountered.