Patchwork [2,of,6] addremove: make help match add

login
register
mail settings
Submitter timeless@mozdev.org
Date Dec. 17, 2015, 8:31 p.m.
Message ID <af702c16922564d7d228.1450384284@waste.org>
Download mbox | patch
Permalink /patch/12123/
State Accepted
Headers show

Comments

timeless@mozdev.org - Dec. 17, 2015, 8:31 p.m.
# HG changeset patch
# User timeless <timeless@mozdev.org>
# Date 1450364060 0
#      Thu Dec 17 14:54:20 2015 +0000
# Node ID af702c16922564d7d228492b1192b1505c3aa2d7
# Parent  bc163f0c728b3853b19ce2061b9458685cbeb4c9
addremove: make help match add

Patch

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -241,9 +241,9 @@ 
     Add all new files and remove all missing files from the
     repository.
 
-    New files are ignored if they match any of the patterns in
-    ``.hgignore``. As with add, these changes take effect at the next
-    commit.
+    Unless names are given, new files are ignored if they match any of
+    the patterns in ``.hgignore``. As with add, these changes take
+    effect at the next commit.
 
     Use the -s/--similarity option to detect renamed files. This
     option takes a percentage between 0 (disabled) and 100 (files must