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

Re: svn:ignore property ignored while adding files

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-03-06 14:02:35 CET

Julian Fitzell wrote:

> I have to weigh in strongly in support of this. Presumably you have
> files being ignored in svn:ignore for a reason.

The reason for "svn:ignore" is to keep certain files out of the "?"
output of svn status, and only marginally to help svn import and
recursive svn add. And that's it.

Extending this to have svn ignore files that were explicitly passed it
on the command line (either via shell globbing or explicitly) it, if
you'll excuse the harsh words, total nonsense. It would be different if
Subversion did its own globbing, so that you could write

    svn add '*'

(note the quotes to disable shell globbing); in that case, I agree that
the use case is similar to the recursive add one.

But arguing that "svn add *" should do nothing if "*" happens to be in
your svn:ignore property, so that people who don't know the difference
between the shell and subversion aren't surprised -- well, tough. Get
other people who *do* know the difference, or give them shells that
don't do globbing.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 6 14:03:21 2003

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

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