You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by ying lcs <yi...@gmail.com> on 2007/08/15 16:31:46 UTC

Using svn_load_dirs.pl to check in a directory

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?

Thank you.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Using svn_load_dirs.pl to check in a directory

Posted by Andy Levy <an...@gmail.com>.
On 8/15/07, ying lcs <yi...@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