[PATCH 2 of 6] addremove: make help match add

timeless timeless at mozdev.org
Thu Dec 17 14:31:24 CST 2015


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

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


More information about the Mercurial-devel mailing list