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

Re: git-svnimport: what to do after -i?

From
JXJing Xue <jingxue@digizenstudio.com>
Date
Aug 24, 2007, 01:06 UTC
Message-ID
<20070824010619.GA18265@falcon.digizenstudio.com>
In-Reply-To
<Pine.LNX.4.64.0708240113360.32194@beast.quantumfyre.co.uk>
On Fri, Aug 24, 2007 at 01:18:49AM +0100, Julian Phillips wrote:
Show 14 quoted lines
> On Thu, 23 Aug 2007, Jing Xue wrote:
> 
> >So in my case I had to kind of cheat svnimport into thinking
> >'projectFoo' is the name of the "trunk" directory, and 'trunk' is the
> >actually project name. And I had to create 'dummytags' and
> >'dummybranches' at repoRoot level (following somebody else's tip found
> >on this list).
> 
> Ah, yes ... sorry.  I've actually ended up using a homebrew script for 
> parsing svn dump files and feeding git-fast-import for a number of 
> reasons, so I'm a bit rusty with svnimport, and never looked at multiple 
> projects in one repo anyway.  (One of which was that svnimport wasn't 
> creating a correct import actually - some files and directories were 
> simply missing).

That's... not good to hear about. I should probably look at svn dump as well.

> I guess you've tried including projectFoo in the url?  Other than that, 
> perhaps git-svn may have better luck?

I tried that too but decided against it as it's relatively OK to lose some ancient history, but messing up ongoing development due to any possible issues in the git-svn layer would be quite different a story. (and from what you just mentioned, that's not entirely a paranoia 8-)

Thanks.
-- 
Jing
Previous: Julian Phillips
Message 8 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.