From: Sam Vilain Date: Fri, 12 Oct 2007 20:27:24 GMT Subject: Re: Split a subversion repo into several git repos Message-ID: <470FD8AC.5000406@vilain.net> In-Reply-To: Eivind LM wrote: >> >> git-svn init -t projectA/tags -b projectA/branches \ >> -T trunk/projectA http://svn.host.com/ >> git fetch > > With my paths this translates into > > $ git-svn init -b eivindlm/branches \ > -t eivindlm/tags \ > -T eivindlm/trunk/src/probesimulator \ > file:///svn-repo/ > , which prints the happy message: > Initialized empty Git repository in .git/ > > The next command is unfortunately not as happy: > $ git fetch > fatal: 'origin': unable to chdir or not a git archive > fatal: The remote end hung up unexpectedly > Cannot get the repository state from origin > > I suppose this is due to my silly svn-repo layout... However, after > some trial and error it seems like the following command gives me what > I want (I don't need tags or other branches than main): Whoops, my mistake. That should have been "git svn fetch". Sam.