My server details are as follows

  • centOS 6
  • subversion 1.6
  • svn paths: /var/www/svn/repo1, /var/www/svn/repo2

I have a repo1 which has directory trunk inside it.

I have another repo2 which has trunk and in trunk i have X and Y folders now i need to copy X and Y folders to repo1 trunk folder.

i used following command

svn copy file:///var/www/svn/repo2/trunk/X file:///var/www/svn/repo1/trunk/

it shows following error

svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///var/www/svn'

How can I copy it?


Quoting from the documentation for Subversion 1.7 (you have 1.6, which is less capable):

You can only copy files within a single repository. Subversion does not support cross-repository copying.

If you want to copy files/folders, you can either

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.