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

Re: "svn add" recursively...

From: Gary Thomas <gary_at_mlbassoc.com>
Date: 2006-04-02 14:13:54 CEST

On Sat, 2006-04-01 at 12:30 -0500, Attila Horvath wrote:
> Hi all
>
> Is it possible to specify "svn add" to add files in subdirectories
> recursively?
>
> The command has "-N" option to supress recursive add but when I execute
> the command from the top '.svn' directory it does not add new files from
> subdirectories.

Why are you trying this from the .svn directory? This is a special
area, for subversion's internal use only and should not contain any
user files.

As for adding all files in a directory recursively, it simply works
that way. For example, within an existing subversion working copy:
        $ mkdir t
        $ mkdir t/d1 t/d2
        $ cp /dev/null t/d1
        $ cp /dev/null t/d2
        $ svn add t
        A t
        A t/d1
        A t/d1/null
        A t/d2
        A t/d2/null

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Apr 2 14:15:10 2006

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.