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

Re: Better alternative to `svn add --force *`

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-09-15 05:07:18 CEST

On Sep 14, 2005, at 9:41 PM, Kalin KOZHUHAROV wrote:

>
> want to do:
> Add to add all unversioned files and subdirs under versioned
> directory /foo/bar except those
> mentioned in svn:ignore (for /foo/bar/ directory)
>
> tried:
> svn add --force /foo/bar/*
> problem:
> bails on added files, does not add unversion files in (versioned) /
> foo/bar/bas/
>
> tried:
> svn add --force /foo/bar/*
> problem:
> svn:ignore is _ignored_ on /foo/bar/
>

How is the second case different than the first case?

Did you try just leaving out the '*'? Your shell is expanding it
into multiple arguments. Instead, try just

    svn add --force /foo/bar

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 15 05:09:09 2005

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