Subversion No repository found
This has been solved. [Feb 23, 2008, 9:59 AM EST]
Entering Code:
svn import -m "initial commit" projectA svn+ssh://localhost/usr/local/svn/projetA Code:
svn: No repository found in 'svn+ssh://localhost/usr/local/svn/projectA' I currently have two projects in my svn repository called Matlab (located at /usr/local/svn/Matlab), and testRepo (at /usr/local/svn/testRepo). I am able to check both out, and commit to them, over https or svn+ssh. I attempted to look at my bash history to see how I imported those projects, but that was too long ago, so it no longer appears in my history. At first glance the error seems weird to me, of course it cannot find the repository, I have not imported it yet! if I attempt to import over https instead of ssh I get the error Code:
svn: PROPFIND request failed on '/svn/projectA' I would prefer to use svn+ssh because if I use https I can only access the repo from my intranet, since all incoming ports except 22 are blocked from entering our network. If I attempt to use svn+ssh and put 'jdwilder@localhost' instead of just 'localhost' I get the same results. If I use 127.0.0.1 instead I get the same results, If I use my network IP I also get the same results. Any help would be appreciated, I have wasted a lot of time searching to get this working, and I am stuck. (if I am lucky hopefully it is a little stupid error) |
Maybe you set up the svn server to serve from /usr/local/svn with the -r option:
Quote:
|
Thanks for the ideas.
When I look at svn info for one of my working repositories I get the following: Path: . URL: svn+ssh://127.0.0.1/usr/local/svn/Matlab Repository Root: svn+ssh://127.0.0.1/usr/local/svn/Matlab So I have been looking in the right place. Also, thank you for the link. I will look into how to configure the svn server. I did not make any configuration changes to the way the server started. I was following instructions on how to get svn to work from a Mac and they all talk about using Https, which I cannot due to the firewall, and the way the tutorial was written it seemed that as long as ssh was working there was nothing to configure to get svn+ssh working. I will look at the link and try to get this working. Thanks. |
Yup it was a stupid error on my part.
I realized what I did was I had used svnadmin create /usr/local/svn/Matlab and svnadmin create /usr/local/svn/testRepo so the I either had to either do an svnadmin create /usr/local/svn/projectA or recreate the entire repository at /usr/local/svn, and then import all of the projects in the correct way. I guess I didn't understand the structure of svn well enough when I first started setting this stuff up. |
All times are GMT -5. The time now is 01:55 AM. |