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

Re: Using svn_load_dirs.pl to check in a directory

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-08-15 18:38:35 CEST

On 8/15/07, ying lcs <yinglcs@gmail.com> wrote:
> Hi,
> My understadning of svn_load_dirs.pl to load a new directory tree to subversion.
> My question is can I use that many times?
> Is it safe to do this:
> 1. start a new repository
> 2. use svn_load_dirs.pl to load a new directory to subversion
> 3. check out the code from repository
> 4. make changes and svn commit
> ... do step 3, 4 multiple times.
> 5. is it save to use svn_load_dirs.pl to load a new directory to
> subversion again here at this point?

svn_load_dirs.pl is more for updating an existing directory in
Subversion when it's been changed by an outside source, finding all
the additions, moves & deletions and handling them for you.

In your example, step 2 you can do with "svn import" as you're taking
an unversioned directory structure and loading it into an empty
directory in the repository (you may want to create the directory
first with svn mkdir).

At step 5, it's not clear to me whether you're loading new files into
an already-versioned directory (in which case svn_load_dirs.pl would
be appropriate) or loading files into a brand-new directory (in which
case svn import would be appropriate).

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 15 18:36:38 2007

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