开发者

SVN won't let me rename or create a folder with a deleted folder's name

Codeplex's SVN is not allowing me to create/rename folders to the name A.

I initially wanted to swap names of two folders (A and B). At the beginning, I renamed A to C then renamed B to A. When I tried to commit, some commits went through, others gave errors. So I deleted everything, updated and tried again. But now I can't seem to rename a folder to A or create a new folder named A.

When I try to create a new folder I get

Server sent unexpteced return value (200 OK) in response to MKCOL request for /svn/!svn/REPO_UUID/myproject/trunk/partentFolder/A

For renames, I get a sim开发者_开发技巧ilar error except instead of MKCOL it's a DELETE request.


You can't delete (ie rename in this case) folder A and add a different folder A in the same commit. You should:

  1. rename A -> C
  2. commit
  3. rename B -> A
  4. commit
  5. rename C -> B
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜