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

conversion from svn with renames

From
RSRicardo SIGNES <rjbs@cpan.org>
Date
Jul 29, 2007, 12:23 UTC
Message-ID
<20070729122301.GA17016@knight.manxome.org>
I'd like to convert svn.codesimply.com/projects' contents to git.
Right now, the content is like this:
  /projects/$PROJECTNAME/{trunk,tags,branches}

git-svnimport does well if I specify projects/$PROJECTNAME/trunk as the trunk directory and that/tags as the tags directory. (I am not interested in bothering with branches.) The problem is this:

For many of the projects, $PROJECTNAME was once "foo" and is now "bar." git-svnimport only imports the history from the current name.

I tried to import foo, then bar, into one git repostiory, but the histories didn't seem to get connected. Sam V. suggested git-filter-branch, but I didn't quite see how to make it do what I wanted.

I would greatly appreciate any advice or help on this conversion.
-- 
rjbs
Next: Väinö Järvelä
Message 1 of 3 in “conversion from svn with renames”
  1. Ricardo SIGNESJul 29, 2007
  2. Väinö JärveläNov 16, 2007
  3. Väinö JärveläNov 16, 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.