[svnbook commit] r3098 - trunk/src/en/book
fitz
noreply at red-bean.com
Tue Jun 3 00:56:55 CDT 2008
Author: fitz
Date: Tue Jun 3 00:56:55 2008
New Revision: 3098
Log:
Add a tip for using shell wildcards with svn:ignores.
This fixes issue #115, discovered on Konstantin Rekk's blog at
http://www.rekk.de/bloggy/?p=49
* ch03-advanced-topics.xml: Blurble.
Modified:
trunk/src/en/book/ch03-advanced-topics.xml
Modified: trunk/src/en/book/ch03-advanced-topics.xml
==============================================================================
--- trunk/src/en/book/ch03-advanced-topics.xml (original)
+++ trunk/src/en/book/ch03-advanced-topics.xml Tue Jun 3 00:56:55 2008
@@ -1469,6 +1469,19 @@
its ignores list and operate on all the files and directories
present.</para>
+ <tip>
+ <para>Even if <literal>svn:ignore</literal> is set, you may run
+ into problems if you use shell wildcards in a command (e.g.,
+ <command>svn add *</command>) the <literal>*</literal> will
+ expand into an explicit list of file names. This
+ will have an effect similar to passing
+ the <option>--no-ignore</option> option to <command>svn
+ add</command>. Instead of using a wildcard in this case,
+ use <command>svn add --force</command> instead and the files
+ that match your <literal>svn:ignore</literal> property will be
+ ignored.</para>
+ </tip>
+
</sect1>
<!-- ================================================================= -->
More information about the svnbook-dev
mailing list