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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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

It is the exact same message wheter I use...

> cd /working/git/network/wireshark/
> git-svn clone file:///working/svn/network/wireshark .
> git-svn clone file:///working/svn/network/wireshark? .
> git-svn clone file:///working/svn/network/wireshark/ .
> cd /working/git/network/
> git-svn clone file:///working/svn/network/wireshark wireshark
> git-svn clone file:///working/svn/network/wireshark? wireshark
> git-svn clone file:///working/svn/network/wireshark/ wireshark

Add the options -T trunk -b branches -t tags above same results.

git-svn really does not like to import from a local svn file...

Any other ideas,

Thanks, I really apperciate the assistance.

--
Boyd Gerber <gerberb@xxxxxxxxx>
ZENEZ	1042 East Fort Union #135, Midvale Utah  84047
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux