Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Non-*NIX Forums > General
User Name
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!


  Search this Thread
Old 02-22-2008, 02:36 PM   #1
Registered: Jul 2003
Location: United States
Distribution: Fedora Core 7 and older, Knoppix, Ubuntu
Posts: 121

Rep: Reputation: 15
Subversion No repository found

This has been solved. [Feb 23, 2008, 9:59 AM EST]

svn import -m "initial commit" projectA svn+ssh://localhost/usr/local/svn/projetA
Gets me the error
svn: No repository found in 'svn+ssh://localhost/usr/local/svn/projectA'
I have searched everywhere and have not been able to find an answer that works. When I search I find many people who have the same problem, but for them the fix has been checking to make sure they are putting in the correct path. I have checked my path over and over, and this still doesn't work.

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
svn: PROPFIND request failed on '/svn/projectA'
svn: Could not open the requested SVN filesystem

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 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)

Last edited by jdwilder; 02-23-2008 at 08:59 AM. Reason: Solved
Old 02-22-2008, 11:59 PM   #2
Senior Member
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,200

Rep: Reputation: 1391Reputation: 1391Reputation: 1391Reputation: 1391Reputation: 1391Reputation: 1391Reputation: 1391Reputation: 1391Reputation: 1391Reputation: 1391
Maybe you set up the svn server to serve from /usr/local/svn with the -r option:
Originally Posted by
$ svnserve -d -r /var/svn
Using the -r option effectively modifies the location that the program treats as the root of the remote filesystem space. Clients then use URLs that have that path portion removed from them, leaving much shorter (and much less revealing) URLs:

$ svn checkout svn://
I think running svn info in a working copy of one of your other repositories will show what URL you can use to access it.
Old 02-23-2008, 08:17 AM   #3
Registered: Jul 2003
Location: United States
Distribution: Fedora Core 7 and older, Knoppix, Ubuntu
Posts: 121

Original Poster
Rep: Reputation: 15
Thanks for the ideas.

When I look at svn info for one of my working repositories I get the following:

Path: .
URL: svn+ssh://
Repository Root: svn+ssh://

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.

Old 02-23-2008, 08:58 AM   #4
Registered: Jul 2003
Location: United States
Distribution: Fedora Core 7 and older, Knoppix, Ubuntu
Posts: 121

Original Poster
Rep: Reputation: 15
Thumbs up

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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Subversion Repository Browser ???? ajeetraina Linux - Server 0 12-19-2007 11:55 PM
Splitting an Existing Subversion Repository stevec Linux - Software 1 09-21-2007 04:30 PM
Subversion Repository Seg Fault (32 to 64 bit) dlublink Linux - Software 1 03-31-2007 03:54 PM
Setting up a subversion server/repository filburt1 Linux - Software 1 11-03-2006 12:28 AM
Subversion shared repository under both Windows and Linux? paulsiu Linux - Software 5 07-20-2006 04:25 PM > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 01:00 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration