Mercurial > hg > mercurial-crew
changeset 28136: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 +++ b/mercurial/commands.py @@ -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 +++ b/tests/test-help.t @@ -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.