svn repo borked by git svn remove and add?
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
checkout the svn repository. Fix it with SVN only. Then fetch in the other repo. This should solve it.
精彩评论