git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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!
Previous: Jing XueNext: Jing Xue
Message 5 of 8 in “git-svnimport: what to do after -i?”
  1. Jing XueAug 22, 2007
  2. Steven WalterAug 22, 2007
  3. Jing XueAug 22, 2007
  4. Jing XueAug 23, 2007
  5. Julian PhillipsAug 23, 2007
  6. Jing XueAug 23, 2007
  7. Julian PhillipsAug 24, 2007
  8. Jing XueAug 24, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.