You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Miguel Rentes <mi...@efacec.pt> on 2008/02/19 17:16:37 UTC

SVN copy of one repository to another

Hi everyone,

I want to copy all the source files from one repository to another one, 
like this:

repository old
- folder 1
- folder 2

repository new
 - repository old
   - folder 1
   - folder 2
- folder 3
- ...

Can I do this with svn copy? I tried to do this with "svn copy 
http://serverIP/old/trunk http://serverIP/new/trunk" and got the 
following error:

svn: PROPFIND request failed on '/'
svn: PROPFIND of '/': 405 Method Not Allowed (http://serverIP)

Can anyone help please?

Best regards,

-- 

Miguel Rentes
/Software Engineer/
EFACEC - Sistemas de Electronica, SA
/ID/GR/
*Address:*
Rua Eng. Frederico Ulrich apartado 3078
4471-907 Moreira da Maia - Portugal
*Phone: *+351 22 940 20 00 (DDI: 22 940 33 88)
*Fax: *+351 22 948 54 28
*Email: *miguel.rentes@efacec.pt <ma...@efacec.pt>
*Disclaimer* <http://efacec.pt/email.jpg>

Re: SVN copy of one repository to another

Posted by Henrik Sundberg <st...@gmail.com>.
2008/2/19, Miguel Rentes <mi...@efacec.pt>:
>
>  Hi everyone,
>
> I want to copy all the source files from one repository to another one,
> like this:
>
> repository old
> - folder 1
> - folder 2
>
> repository new
>  - repository old
>    - folder 1
>    - folder 2
> - folder 3
> - ...
>
> Can I do this with svn copy? I tried to do this with "svn copy
> http://serverIP/old/trunk http://serverIP/new/trunk" and got the following
> error:
>
> svn: PROPFIND request failed on '/'
> svn: PROPFIND of '/': 405 Method Not Allowed (http://serverIP)
>
> Can anyone help please?
>


I think you ought to svnadmin dump the old repository, and then svnadmin
load it into the new repository using --parent-dir.

HTH
/$