开发者

svn repo borked by git svn remove and add?

开发者 https://www.devze.com 2023-02-17 05:46 出处:网络
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 ex

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号