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

Re: help needed: Splitting a git repository after subversion migration

From
Thomas Jarosch <thomas.jarosch@intra2net.com>
Date
Dec 10, 2008, 16:33 UTC
Message-ID
<200812101733.36221.thomas.jarosch@intra2net.com>
In-Reply-To
<200812081834.26688.thomas.jarosch@intra2net.com>
On Monday, 8. December 2008 18:34:20 Thomas Jarosch wrote:
> 1. When I run "git rev-list --all --objects", I can see file names that
> look like "SVN-branchname/directory/filename". Is it normal that "git svn"
> creates a directory with the name of the branch and puts files below it?

Ok, this seems to be a PEBKAC: In the history of the subversion repository, f.e. I once copied the "branches" root folder to tags/xyz. One revision later I noticed this and retagged the correct branch. git-svn imports all branches from the first tag, which is the correct thing to do :o)

Now I'll manually check the history of the tags/ and branches/ folder for more funny tags and write down the revision. If I understood the git-svn man page correctly, I should be able to specifiy revision ranges it's going to import. I'll try to skip the broken tags.

Cheers, Thomas

Previous: Thomas JaroschNext: Björn Steinbrink
Message 5 of 8 in “help needed: Splitting a git repository after subversion migration”
  1. Thomas JaroschDec 7, 2008
  2. Michael J GruberDec 8, 2008
  3. Björn SteinbrinkDec 8, 2008
  4. Thomas JaroschDec 8, 2008
  5. Thomas JaroschDec 10, 2008
  6. Björn SteinbrinkDec 11, 2008
  7. Thomas JaroschDec 12, 2008
  8. Björn SteinbrinkDec 12, 2008

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.