You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Alex Kiesel <al...@kiesel.name> on 2006/05/05 08:50:54 UTC

Copying a directory from another repository

Hi,

I'm trying to (recursively) copy an entire directory from another
repository into my WC.

Basically, it works. The only problem is, I get an warning like this:
svn: Source URL 'blablabla' is from foreign repository; leaving it as a
disjoint WC

This means, that the directory is copied into the WC in regard to
filesystem, but not scheduled for addition. Trying to do so reveals
errors, too, because the .svn folders already exist in the copy.

I could circumvent this by recursively deleteing those folders and then
adding the directory. I will do this if there's no better solution. Does
anyone know a solution?

Btw, commit messages are of no interest for me at that point.

Regards,
-Alex


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

Re: Copying a directory from another repository

Posted by Alex Kiesel <al...@kiesel.name>.
On Fri, 2006-05-05 at 11:07 +0200, B. Smith-Mannschott wrote:
> On 5/5/06, Alex Kiesel <al...@kiesel.name> wrote:
> > Hi,
> >
> > I'm trying to (recursively) copy an entire directory from another
> > repository into my WC.
> 
> Try svn export. It will check out a copy from the repository without
> any of the .svn information. Something like:
> 
> $ cd SOMEWHERE_IN_WORKING_COPY
> $ svn export svn://OTHER_REPOSITORY/PATH   NAME_IN_WORKING_COPY
> $ svn add NAME_IN_WORKING_COPY
> $ svn commit .
> 
> hth

Thanks, that worked.

-Alex

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

Re: Copying a directory from another repository

Posted by "B. Smith-Mannschott" <be...@gmail.com>.
On 5/5/06, Alex Kiesel <al...@kiesel.name> wrote:
> Hi,
>
> I'm trying to (recursively) copy an entire directory from another
> repository into my WC.

Try svn export. It will check out a copy from the repository without
any of the .svn information. Something like:

$ cd SOMEWHERE_IN_WORKING_COPY
$ svn export svn://OTHER_REPOSITORY/PATH   NAME_IN_WORKING_COPY
$ svn add NAME_IN_WORKING_COPY
$ svn commit .

hth
// ben