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

Again with git-svn: File was not found in commit

From
David E. Wheeler <david@kineticode.com>
Date
Apr 13, 2009, 18:08 UTC
Message-ID
<747CFDA3-AC27-44EB-A69C-BF9C29B05A31@kineticode.com>
Hello Gits,

I'm looking to migrate [Bricolage][] from Subversion to Git. As such, I'm running `git svn` to create a git repository for the Bricolage repository. I moved the files around in Subversion quite a while ago (the trunk, branches, and tags directories used to be at the root, but now they're under a "bricolage" subdirectory), so there's a fair amount of duplication, but I don't mind that, because I can prune those dupes.

[Bricolage]: http://bricolage.cc/
So I ran `git svn` like so:
     md brictmp
     cd brictmp
     git svn init http://svn.bricolage.cc/bricolage --no-metadata -s
     git config svn.authorsfile ~/Desktop/bricolage_committers.txt
     git svn fetch

After around 30 hours of the fan running full tilt on my MacBook Pro, creating 343 branches (yeah, we have a lot of tags), `git svn` exited with this error:

     bricolage/branches/rev_1_8/lib/Bric/App/ApacheConfig.pm was not  
found in commit
     e5145931069a511e98a087d4cb1a8bb75f43f899 (r5256)
This seemed strange to me, so I had a look at SVN:
     svn list -r5256 http://svn.bricolage.cc/bricolage/branches/rev_1_8/lib/Bric/App/ApacheConfig.pm
     ApacheConfig.pm

So the file *is* there in that revision. I had been running 1.6.1.2, so I upgraded to 1.6.2.2 and ran `git svn fetch` again to see if it would pick up where it left off, but it returned the same error (please don't tell me I have to start over!).

I see that this issue has come up [before][], earlier this year; has there been any progress on it? Is there perhaps something I can do to get this working?

[before]: http://lists-archives.org/git/677591-git-svn-file-was-not-found-in-commit.html
Many thanks,
David
Next: Eric Wong
Message 1 of 9 in “Again with git-svn: File was not found in commit”
  1. David E. WheelerApr 13, 2009
  2. Eric WongApr 21, 2009
  3. David E. WheelerApr 21, 2009
  4. Eric WongApr 26, 2009
  5. David E. WheelerApr 26, 2009
  6. Jakub NarebskiApr 26, 2009
  7. David E. WheelerApr 27, 2009
  8. Jakub NarebskiApr 28, 2009
  9. David E. WheelerApr 28, 2009

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.