1

I had a directory, Dir, that I removed with git svn, and then I added dir. By checking this two-commit in, svn is no longer able to update, hanging on the inability to add a directory which already exists.

Is there a way to remove the svn commits themselves that does not require access to the filesystem on which the repository sits?

org.tmatesoft.svn.core.SVNException: svn: Failed to add directory 'dir': a versioned directory of the same name already exists
Stefan Kendall
  • 66,414
  • 68
  • 253
  • 406

1 Answers1

1

checkout the svn repository. Fix it with SVN only. Then fetch in the other repo. This should solve it.

Adam Dymitruk
  • 124,556
  • 26
  • 146
  • 141
  • This doesn't actually let you remove commits, but the issue was that the git commit didn't remove the svn directory, as git has no notion of adding or removing directories. – Stefan Kendall Mar 15 '11 at 13:41