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

Re: SVN -> Git *but* with special changes

From
AAbscissa <bus_nabble_git@semitwist.com>
Date
Jan 12, 2012, 21:52 UTC
Message-ID
<1326405138283-7181897.post@n2.nabble.com>
In-Reply-To
<1326065910362-7166084.post@n2.nabble.com>

I'm trying to do it manually with git-svn, but I'm getting the same problem. I have two different SVN repos I want to do (turns out neither have branches, I had thought they did, but one of them does have tags). Doing this:

git svn clone {the url to the SVN repo} --prefix=svn/ --preserve-empty-dirs --authors-file={already prepared authors file} --trunk=trunk --tags=tags

It gets partway through, and then gives me:
Failed to strip path '{some path}/.gitignore' ((?-xism:^trunk(/|$)))

Where {some path} is an empty dir in the trunk of one repo, and a completely non-existent path in the other. (In both cases I'm looking at the revision git-svn had gotten to when bailing, plus the revision before and the revision after).

I don't have a clue what that error message is trying to tell me or what is going wrong. :(

If it helps, these are the repos I'm trying to convert:
http://svn.dsource.org/projects/semitwist   (git svn clone fails at r46 (out
of 242) on 'src/nonFatalAssertTest/.gitignore')
http://svn.dsource.org/projects/goldie   (git svn clone fails at r85 (out of
557) on 'bin/lang/.gitignore')

(Yes, they do have a non-standard top-level "downloads" directory, but that's just how that host does file downloads, and I *don't* need to preserve it)

-- View this message in context: http://git.661346.n2.nabble.com/SVN-Git-but-with-special-changes-tp6840904p7181897.html Sent from the git mailing list archive at Nabble.com.

Previous: AbscissaNext: Abscissa
Message 17 of 21 in “SVN -> Git *but* with special changes”
  1. AbscissaSep 28, 2011
  2. Stephen BashSep 28, 2011
  3. Matthieu MoySep 28, 2011
  4. Jeff KingSep 28, 2011
  5. AbscissaSep 28, 2011
  6. AbscissaJan 7, 2012
  7. Jeff KingSep 28, 2011
  8. AbscissaJan 8, 2012
  9. Jeff KingJan 8, 2012
  10. AbscissaJan 8, 2012
  11. AbscissaJan 8, 2012
  12. Carlos Martín NietoJan 8, 2012
  13. Andreas SchwabJan 8, 2012
  14. Adam BorowskiJan 8, 2012
  15. AbscissaJan 8, 2012
  16. AbscissaJan 8, 2012
  17. AbscissaJan 12, 2012
  18. AbscissaJan 14, 2012
  19. Michael HaggertyJan 9, 2012
  20. Thomas HochsteinJan 8, 2012
  21. Thomas HochsteinJan 8, 2012

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.