Patchwork [1,of,6] add: mention .hgignore in help

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

Comments

timeless@mozdev.org - Dec. 17, 2015, 8:31 p.m.
# HG changeset patch
# User timeless <timeless@mozdev.org>
# Date 1450364020 0
#      Thu Dec 17 14:53:40 2015 +0000
# Node ID bc163f0c728b3853b19ce2061b9458685cbeb4c9
# Parent  4eeef1b2d689bad18f473b5e118cca061f6ca560
add: mention .hgignore in help

Patch

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -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
 
diff --git a/tests/test-help.t b/tests/test-help.t
--- a/tests/test-help.t
+++ b/tests/test-help.t
@@ -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: