However, if you read further:
The list of patterns to ignore is also used by svn add and svn import.
Both of these operations involve asking Subversion to begin managing
some set of files and directories. Rather than force the user to pick
and choose which files in a tree she wishes to start versioning,
Subversion uses the ignore patterns to determine which files should
not be swept into the version control system as part of a larger
recursive addition or import operation.
So, if you svn:ignore *.suo, then svn add a directory that contains a
.suo file, that file will be ignored.
However, if you explicitly add test.suo, subversion will obey your
command and add it, the assumption being that if you name the exact
file you want to add, you really do want to add it, regardless of your
On 9/15/06, Jiho Han <firstname.lastname@example.org> wrote:
> But it seems like this section from the book says otherwise:
> The svn:ignore property contains a list of file patterns which certain
> Subversion operations will ignore.
> Perhaps the most commonly used special property, it works in conjunction
> with the globalignores
> run-time configuration option (see the section called "Config") to
> filter unversioned files and
> directories out of commands svn status, svn add, and svn import.
> -----Original Message-----
> From: Andy Levy [mailto:email@example.com]
> Sent: Friday, September 15, 2006 3:39 PM
> To: Jiho Han
> Cc: firstname.lastname@example.org
> Subject: Re: A couple of questions on revert and svn:ignore
> On 9/15/06, Jiho Han <email@example.com> wrote:
> > First question is whether propset svn:ignore takes effect after a
> > commit.
> > For example, if you have a test.suo file and you set svn:ignore to
> > *.suo and svn add test.suo, what should happen?
> test.suo will be added because you explicitly told Subversion to add it.
> ignore is more for ignoring the unversioned file when looking at the
> status of the directory. See
To unsubscribe, e-mail: firstname.lastname@example.org
For additional commands, e-mail: email@example.com
Received on Fri Sep 15 21:47:42 2006