-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/02/13 11:12, Alex Lewis wrote: > 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/.."
Great - that worked. Now one more question: I now did git svn clone file:///home/rkrug/svn/Documents/Publications/2010/Paper/NonSpatialAcacia and it worked (as I do not have a standard layout), but I get all files in the repo /home/rkrug/svn/Documents/ and I would only like to have the ones in the directory and its subdirectories: /home/rkrug/svn/Documents/Publications/2010/Paper/NonSpatialAcacia/ How can I now effectively split the svn repo in different git repos? Rainer > > HTH > > On Friday, 1 February 2013 09:45:43 UTC, Rainer M Krug wrote: > > 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 > > -- 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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/ez6zc...@public.gmane.org > For more options, > visit https://groups.google.com/groups/opt_out. > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJRC57uAAoJENvXNx4PUvmC+F8IAIhEnZBsf3ogQiSve7bFSZg/ WElovA+AzTvGB/vuQuxYDsnT2F0kYX0tfUBXgdnXFJ+R5Lg+kKPf5hkzL8yJjNBb LujXHNEANcfTZK/xOozVXMXPIOy+cGhLaad4jqhM6ALRPL+xUSR72cOVjrguc72Z +IEaFVUc2KEBYTtJTUeQkrE7mAGx4aNYkwIH9alM4PFlWW8ln38C9jYPBa1PcHNl yaPz2PhlrCAA0MFhAs0RqYAQNivEyTWbBXyMLh4MLPM0WreGrDXxfwnezOwQoR/w l3s17x8Z3zjsO3WpQlsCi+6fu6EExJNAYnxjYunhe3tUwM4AGJS0EuGCYmm6kqo= =Vup3 -----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.