Problems cloning existing (probably old) svn repo
- From
- Cody Goodman <codygman.consulting@gmail.com>
- Date
- Dec 3, 2014, 17:51 UTC
- Message-ID
- <CADq_+R2t+ZprZj83TKJaWDpTtF+LwSZPTPc8vOYuDz9gkLDS-w@mail.gmail.com>
I recently got this error when trying to git svn clone an existing repo:
Couldn't open a repository: Unable to connect to a repository at URL 'file:///home/cody/work/SmartPay': Unable to open an ra_local session to URL: Unable to open repository 'file:///home/cody/work/SmartPay' at /usr/share/perl5/Git/SVN.pm line
Then I created my own new svn repo to ensure my install of svn-git was working:
cody@cody-XPS-L521X:~/svn-repos$ svnadmin create testrepo cody@cody-XPS-L521X:~/svn-repos$ svnserve -d -r /home/cody/svn-repos cody@cody-XPS-L521X:~/svn-repos$ cd /tmp cody@cody-XPS-L521X:/tmp$ git svn clone svn://localhost/testrepo Initialized empty Git repository in /tmp/testrepo/.git/
So I've verified my install is working and I understand how to clone a local repo.
What svn repo versions is git-svn compatible with? If the svnadmin version used to create the existing repo I want to clone was very old is that what is giving me the error? Is there a workaround?
How should I proceed?