tags:

views:

911

answers:

3

Is there a way with SVN to check out from a remote repository to another remote location rather than my local file system? Something like:

svn co http://myrepository/svn/project ssh [email protected]:/var/www/project
+1  A: 

Nope. If you want to copy a repository, look into svnsync.

noah
Syncing repositories is not the same as checking out a repository.
Bert Huijben
A: 

You could use Subversion with SSHFS.

Mathias Brossard
+5  A: 

I think you could do:

ssh [email protected] 'svn co http://repository/svn/project /var/www/project'

This takes advantage of the fact that ssh lets you execute a command remotely.

davr
I tested it myself just to be sure, and it works for me, so let me know if it doesn't work for you.
davr