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, 20:56 UTC
Message-ID
<alpine.LNX.1.00.0806121652220.19665@iabervon.org>
In-Reply-To
<Pine.LNX.4.64.0806121348340.18454@xenau.zenez.com>
On Thu, 12 Jun 2008, Boyd Lynn Gerber wrote:
Show 47 quoted lines
> On Thu, 12 Jun 2008, Daniel Barkalow wrote:
> > On Thu, 12 Jun 2008, Boyd Lynn Gerber wrote:
> > > On Thu, 12 Jun 2008, Miklos Vajna wrote:
> > > > On Thu, Jun 12, 2008 at 12:36:43PM -0600, Boyd Lynn Gerber 
> > > > <gerberb@zenez.com> wrote:
> > > > > git-svnimport -C /working/git/project /master/svn/pub-svn/category/project
> > > > 
> > > > From RelNotes-1.5.4.txt:
> > > > 
> > > >  * "git svnimport" was removed in favor of "git svn".  It is still there
> > > >    in the source tree (contrib/examples) but unsupported.
> > > > 
> > > > Try using git-svn.
> > > 
> > > Thanks, I was not sure which I should use,  I had tried both with similar 
> > > results.  Here is what I used with git-svn
> > > 
> > > > git-svn clone /working/svn/networking/wireshark .
> > > Initialized empty Git repository in .git/
> > > Bad URL passed to RA layer: Unrecognized URL scheme for 
> > > '/working/svn/networking/wireshark' at /usr/bin/git-svn line 934
> > 
> > Maybe file:///working/svn/networking/wireshark?
> 
> 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/...?

	-Daniel
*This .sig left intentionally blank*
Previous: Boyd Lynn GerberNext: Boyd Lynn Gerber
Message 9 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.