I think you *might* be missing a "/" the beginning of your URL after the 
"file://" part? So it should be "file://" like "http://";, etc. but then 
"*/*home/krug/..." 
so you have "file://*/*home/krug/.."

HTH

On Friday, 1 February 2013 09:45:43 UTC, Rainer M Krug wrote:
>
> -----BEGIN PGP SIGNED MESSAGE----- 
> Hash: SHA1 
>
> Hi 
>
> I want to move from svn to git and clone my repositories for this. My 
> problem: I have no idea how 
> I can clone a *local* svn repository. I found that 
>
> git svn clone THEREPO --stdlayout 
>
> should work, but I can't figure out what to use as THEREPO. 
>
> The svn repo is located at 
> /home/rkrug/svn/Documents/Publications/2010/Paper/NonSpatialAcacia/ and 
> the working copy at 
> /home/rkrug/Documents/Publications/2010/Paper/NonSpatialAcacia/ 
>
>
> I tried the following: 
>
> rkrug@ecolmod:~/tmp/test$ git svn clone 
> file://home/rkrug/svn/Documents/Publications/2010/Paper/NonSpatialAcacia/ 
> --stdlayout 
> Initialized empty Git repository in 
> /home/rkrug/tmp/test/NonSpatialAcacia/.git/ 
> Bad URL passed to RA layer: Unable to connect to a repository at URL 
> 'file://home/rkrug/svn/Documents/Publications/2010/Paper/NonSpatialAcacia': 
> Unable to open an 
> ra_local session to URL: Local URL 
> 'file://home/rkrug/svn/Documents/Publications/2010/Paper/NonSpatialAcacia' 
> contains unsupported 
> hostname at /usr/lib/git-core/git-svn line 2299 
>
>
>
> rkrug@ecolmod:~/tmp/test$ git svn clone 
> svn://home/rkrug/svn/Documents/Publications/2010/Paper/NonSpatialAcacia/ 
> --stdlayout 
> Initialized empty Git repository in 
> /home/rkrug/tmp/test/NonSpatialAcacia/.git/ 
> Name or service not known: Unable to connect to a repository at URL 
> 'svn://home/rkrug/svn/Documents/Publications/2010/Paper/NonSpatialAcacia': 
> Unknown hostname 'home' 
> at /usr/lib/git-core/git-svn line 2299 
>
>
>
> rkrug@ecolmod:~/tmp/test$ git svn clone 
> //home/rkrug/svn/Documents/Publications/2010/Paper/NonSpatialAcacia/ 
> --stdlayout 
> Initialized empty Git repository in 
> /home/rkrug/svn/Documents/Publications/2010/Paper/NonSpatialAcacia/.git/ 
> E: 'trunk' is not a complete URL  and a separate URL is not specified 
>
>
> I am sure I am missing something really basic? 
>
> Thanks, 
>
> Rainer 
> -----BEGIN PGP SIGNATURE----- 
> Version: GnuPG v1.4.11 (GNU/Linux) 
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ 
>
> iQEcBAEBAgAGBQJRC47HAAoJENvXNx4PUvmCN2EH/jWbvuiyYGilH1BrsK1xULvR 
> qwQl//D/+whlmmgTlBMgpMM4ISa73pXFoNDhvzFGIzs4tMn++Hzy0gyoG+Tspvza 
> RjVDLnrsS7FReqtwXfUdNaukOqj/lDHekkPMkJCcBqBYLeFAQbY2nRoLt/pmD93p 
> Mwza1zfuedSgVjFGp4Sl1/zJQ053IEvA5K0PINlm3THAtB1VPZp9OL6SSgrfmlmf 
> LCMF9DhiDXQCLwDubie5b4G2rSdV9Vnuc8xEfsT+tAfkkja1uMoxRrLSDuXX+FKB 
> iRt5oBaATFqT02KDejOyMT5xAHVPaytYpKn9Ulf0UN9BuGyK6ZGV5XaIex25UlI= 
> =QLRF 
> -----END PGP SIGNATURE----- 
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to