Re: git-svnimport: what to do after -i?
- From
Julian Phillips <julian@quantumfyre.co.uk>
- Date
- Aug 23, 2007, 07:29 UTC
- Message-ID
- <Pine.LNX.4.64.0708230827440.26254@beast.quantumfyre.co.uk>
- In-Reply-To
- <20070823012836.GA18796@falcon.digizenstudio.com>
On Wed, 22 Aug 2007, Jing Xue wrote:
Show 20 quoted lines
> 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!