subversion documentation

Julian Foad julianfoad at btopenworld.com
Wed Apr 26 11:13:01 CDT 2006


Steve Kunkee wrote:
> I have been having a problem with getting global-ignores to work, and 
> thanks to Mathias Weinert I have an explanation. I want to suggest a 
> change. The document ( 
> http://svnbook.red-bean.com/nightly/en/svn-book.html), chapter 7, 
> Configuration Options, Config, global-ignores, says that svn add and svn 
> import also look at global-ignores.But they only do so when a whole 
> directory is added or imported. Even with a global-ignores in place, the 
> user can still add ignored files by specifying them explicitly to the 
> svn add command.

Yes, it was a bit misleading by not mentioning that.  I've applied the patch 
below in r2130.  Thank you very much for pointing out this deficiency.

- Julian


Index: en/book/ch07.xml
===================================================================
--- en/book/ch07.xml    (revision 2129)
+++ en/book/ch07.xml    (revision 2130)
@@ -587,11 +587,13 @@

                <para>As well as <command>svn status</command>, the
                  <command>svn add</command> and <command>svn import</command>
-                commands also ignore files that match the list.
-                You can override this option for a single instance
-                of any of these commands by using
-                the <option>--no-ignore</option> command-line flag.
-                For information on more fine-grained control of
+                commands also ignore files that match the list
+                when they are scanning a directory.  You can override this
+                behaviour for a single instance of any of these commands
+                by explicitly specifying the file name, or by using
+                the <option>--no-ignore</option> command-line flag.</para>
+
+              <para>For information on more fine-grained control of
                  ignored items, see <xref 
linkend="svn.advanced.props.special.ignore"
                  />.</para>
              </listitem>




More information about the svnbook-dev mailing list