[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn:ignore question (with test script)

From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-03-01 05:53:22 CET

On Feb 28, 2007, at 17:09, Hensley, Richard wrote:

[snip]

> echo "running stat"
> svn stat
> echo "running add"
> svn add *
>
> With this script, I got the following output:

[snip]

> running stat
> ? this
> running add
> A log
> A log\x.txt
> A this
> A this\x.txt
> A tmp
> A tmp\more.txt
>
> I expected the following output for the running add part because I
> ignored tmp and log.
> A this
> A this\x.txt
>
> Since I didn't get that output, I obvious don't understand what I did.
>
> Can anybody explain this to me?

Your shell (not Subversion) expands the asterisk. By the time the
shell is through with it, the command Subversion sees is:

svn add log this tmp

And since, as far as Subversion can tell, you explicitly told it to
add those items, it will do so, even though it would have ignored
them, had you not specified them explicitly.

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 1 05:53:59 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.