From: Daniel Barkalow Date: Thu, 12 Jun 2008 22:11:09 GMT Subject: Re: git-svn-import or CVS import from local HD rather than remote. Message-ID: In-Reply-To: On Thu, 12 Jun 2008, Boyd Lynn Gerber wrote: > On Thu, 12 Jun 2008, Daniel Barkalow wrote: > > On Thu, 12 Jun 2008, Boyd Lynn Gerber wrote: > > > > > > This is really frustrating. > > > > > > I have tried every combination of file://localhost/ file:/// > > > > > > This is what I get > > > > > > git-svn clone file:///working/svn/network/wireshark/ -T trunk -b > > > branches -t tags wireshark Initialized empty Git repository in .git/ > > > Couldn't open a repository: Unable to open an ra_local session to URL: > > > Unable to open repository 'file:///working/svn/network/wireshark' at > > > /usr/bin/git-svn line 1048 > > > > > > > ls -la /working/svn/network/wireshark/ > > > total 16 > > > drwxr-xr-x 8 gerberb zenez 208 2008-06-10 12:44 . > > > drwxr-xr-x 9 gerberb zenez 240 2008-06-12 13:00 .. > > > drwxr-xr-x 6 gerberb zenez 240 2008-06-12 12:14 .svn > > > drwxr-xr-x 6 gerberb zenez 152 2008-06-10 12:43 historic > > > drwxr-xr-x 5 gerberb zenez 152 2008-06-10 12:46 prereleases > > > drwxr-xr-x 86 gerberb zenez 2728 2008-06-10 12:37 releases > > > drwxr-xr-x 26 gerberb zenez 7016 2008-06-10 12:39 trunk > > > drwxr-xr-x 25 gerberb zenez 7136 2008-06-10 11:45 trunk-1.0 > > > > That looks like a SVN working copy, not an SVN repository. Maybe you > > want file:///master/svn/...? > > I tried /master/svn/network/... as well. Same results. I can cd > /master/svn/network/... svn update and I get any updates from the URL. That means it's a SVN working copy; SVN working copies don't contain the project history, so it's impossible to import from them. Basically, if you can't use your master copy for "svn co ", you can't use it for "git svn". > I really do not want to run web-dav. I am able to do it if I run web-dav > and have my server as a svn master. I have had security issues with > web-dav and I really want to avoid running it at all costs. The SVN FAQ has information on running a SVN master without any web service. You should probably read that. Alternatively, you could give up on having any local SVN-based storage, and have /master/svn/... be a git repository that you update from the upstream SVN server with "git svn". -Daniel *This .sig left intentionally blank*