add: mention .hgignore in help
authortimeless <timeless@mozdev.org>
Thu, 17 Dec 2015 14:53:40 +0000
changeset 27424 c2854c41f9ac
parent 27423 c953e26f3734
child 27425 cdb613099571
add: mention .hgignore in help
mercurial/commands.py
tests/test-help.t
--- a/mercurial/commands.py	Thu Dec 17 15:05:25 2015 +0000
+++ b/mercurial/commands.py	Thu Dec 17 14:53:40 2015 +0000
@@ -193,7 +193,8 @@
     The files will be added to the repository at the next commit. To
     undo an add before that, see :hg:`forget`.
 
-    If no names are given, add all files to the repository.
+    If no names are given, add all files to the repository (except
+    files matching ``.hgignore``).
 
     .. container:: verbose
 
--- a/tests/test-help.t	Thu Dec 17 15:05:25 2015 +0000
+++ b/tests/test-help.t	Thu Dec 17 14:53:40 2015 +0000
@@ -347,7 +347,8 @@
       The files will be added to the repository at the next commit. To undo an
       add before that, see "hg forget".
   
-      If no names are given, add all files to the repository.
+      If no names are given, add all files to the repository (except files
+      matching ".hgignore").
   
       Returns 0 if all files are successfully added.
   
@@ -372,7 +373,8 @@
       The files will be added to the repository at the next commit. To undo an
       add before that, see "hg forget".
   
-      If no names are given, add all files to the repository.
+      If no names are given, add all files to the repository (except files
+      matching ".hgignore").
   
       Examples:
   
@@ -2202,7 +2204,8 @@
   undo an add before that, see &quot;hg forget&quot;.
   </p>
   <p>
-  If no names are given, add all files to the repository.
+  If no names are given, add all files to the repository (except
+  files matching &quot;.hgignore&quot;).
   </p>
   <p>
   Examples: