I just got access to a website that uses SVN for version control, which is new to me.
The webroot is the traditional /var/www/vhosts/www.example.com/httpdocs
. When I'm inside that directory, I can run simple SVN commands like status and info. When I try to checkout a copy of the repo on my local machine I run into trouble:
It keeps telling me it can't find the repository.
me@desktop-123 /c/wamp/www/tempSite
$ svn co svn+ssh://username@111.111.111.1/var/www/vhosts/www.example.com .
The authenticity of host '111.111.111.1 (111.111.111.1)' can't be established.
RSA key fingerprint is 1d:e2:8f:5e:94:1b:94:0b:92:57:c0:ca:37:36:fb:4c.
Are you sure you want to continue connecting (yes/no)? yes
username@111.111.111.1's password:
username@111.111.111.1's password:
svn: No repository found in 'svn+ssh://username@111.111.111.1/var/www/vhosts/www.example.com'
me@desktop-123 /c/wamp/www/tempSite
$ svn co svn+ssh://username@111.111.111.1/var/www/vhosts/www.example.com/httpdocs .
username@111.111.111.1's password:
svn: No repository found in 'svn+ssh://username@111.111.111.1/var/www/vhosts/www.example.com/httpdocs'
me@desktop-123 /c/wamp/www/tempSite
$ svn co svn+ssh://username@111.111.111.1/var/www/vhosts/www.example.com/httpdocs/.svn .
username@111.111.111.1's password:
svn: No repository found in 'svn+ssh://username@111.111.111.1/var/www/vhosts/www.example.com/httpdocs/.svn'
There is an empty directory /var/www/vhosts/www.example.com/trunk
, but it has not been touched for many months, whereas the child .svn directories have been updated within the last week. I don't think this is relevant, but since I'm new to this, it's confusing me.
When I run svn info
I get this:
$ svn info
Path: .
URL: https://svn.example2.com/client.account/trunk
Repository Root: https://svn.example2.com/client.account
Repository UUID: 9c0d3acc-3531-50de-5176-468ba01a45ce
Revision: 1273
Node Kind: directory
Schedule: normal
Last Changed Author: mhollis
Last Changed Rev: 1273
Last Changed Date: 2014-03-20 11:14:49 -0700 (Thu, 20 Mar 2014)
Maybe I'm just too used to git, but I feel like I should be able to checkout the repo at /var/www/vhosts/www.example.com/httpdocs
, no?
Is this because I'm trying to checkout someone else's repo? Do I need to try to checkout from https://svn.example2.com/client.account
?