From: Julian Phillips Date: Thu, 23 Aug 2007 07:29:54 GMT Subject: Re: git-svnimport: what to do after -i? Message-ID: In-Reply-To: <20070823012836.GA18796@falcon.digizenstudio.com> On Wed, 22 Aug 2007, Jing Xue wrote: > OK, got it working. It had more to do with the module/trunk path than > the -i. > > My svn projects are organized like: > projectFoo > -trunk > -tags > -branches > > So I initially used: > > git svnimport -C projectFoo -r -A svn-authors -I .gitignore -T projectFoo svn://jabba trunk > > which resulted in the empty working directory - with or without the -i. > > What ended up working is this: > > git svnimport -C projectFoo -r -A svn-authors -I .gitignore -T projectFoo -P trunk svn://jabba > > Cheers. I haven't used svnimport in a while (and never with subprojects), but you seem to be specifying that projectFoo is your trunk - which doesn't seem right. I would have expected the command to be: git svnimport -C projectFoo -r -A svn-authors -I .gitignore svn://jabba projectFoo -- Julian --- Everything you know is wrong!