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

Re: is "recursive add" allowed?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-11-09 18:16:33 CET

On Nov 9, 2004, at 10:09 AM, Manuel Crotti wrote:

> Suppose that my project tree (/usr/prj1/foo/bar/foo1/) already exists
> and is under svn control,
>
> Suppose that I create a new file:
>
> touch /usr/prj1/foo/bar/foo1/bar1.sh
>
> How can I put the file under svn control from the root of my project?
>
> In other terms, does exist something like
>
> manuel@maigret /usr/> svn add -R prj1
>

'svn add' is already recursive by default. But it doesn't recurse into
versioned directories. If you have an svn 1.1 client, however, then
use --force to recurse into versioned directories. See the last
paragraph here:

    http://svnbook.red-bean.com/svnbook-1.1/re01.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 9 18:18:10 2004

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