OK so on the one hand, 'svn add *' makes the shell
expand the wildcard to all filenames and svn:ignore is
ignored because files are explicitly listed on the
commandline.
On the other hand, svn does not understand '*' as a
glob.
How to simply do a bulk add ?
I think of a script that do a 'svn status' then 'grep'
it to retrieve all lines that start with a question
mark and finally issue a 'svn add' (one for all files
or one fo each). It looks hard for such a simple
thing.
Or maybe I drunk too much Champagne ...
Cheers,
Ionel
--- Daniel Rall <dlr@collab.net> a écrit :
> On Fri, 29 Dec 2006, Ionel GARDAIS wrote:
>
> > And the only solution is to escape the '*' with a
> '\'
> > ?
> > As most shells do wildcard expansion on their own,
> I
> > understand Craig's point of view where the
> svn:ignore
> > property should be used even if the file is
> explicitly
> > named on the command line.
>
> If you did escape '*', Subversion is not going to
> understand it as a
> glob. Instead, Subversion will consider it a file
> name (for a missing
> file).
>
> Craig wants Subversion to ignore anything from the
> list of patterns
> named in the "svn:ignore" property, regardless of
> whether they're
> listed explicitly on the command-line.
>
> > And a "--no-ignore" switch will need to be used to
> > override this.
>
__________________________________________________
Do You Yahoo!?
En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible contre les messages non sollicités
http://mail.yahoo.fr Yahoo! Mail
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Dec 29 23:52:51 2006