git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git-svn-import or CVS import from local HD rather than remote.

From
Daniel Barkalow <barkalow@iabervon.org>
Date
Jun 12, 2008, 22:11 UTC
Message-ID
<alpine.LNX.1.00.0806121759300.19665@iabervon.org>
In-Reply-To
<Pine.LNX.4.64.0806121457490.18454@xenau.zenez.com>
On Thu, 12 Jun 2008, Boyd Lynn Gerber wrote:
Show 31 quoted lines
> 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 <URL>", 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*
Previous: Boyd Lynn GerberNext: Boyd Lynn Gerber
Message 11 of 13 in “git-svn-import or CVS import from local HD rather than remote.”
  1. Boyd Lynn GerberJun 12, 2008
  2. Miklos VajnaJun 12, 2008
  3. Boyd Lynn GerberJun 12, 2008
  4. Miklos VajnaJun 12, 2008
  5. Daniel BarkalowJun 12, 2008
  6. Boyd Lynn GerberJun 12, 2008
  7. Miklos VajnaJun 12, 2008
  8. Boyd Lynn GerberJun 12, 2008
  9. Daniel BarkalowJun 12, 2008
  10. Boyd Lynn GerberJun 12, 2008
  11. Daniel BarkalowJun 12, 2008
  12. Boyd Lynn GerberJun 12, 2008
  13. Asheesh LaroiaJun 13, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.