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:
- rename A -> C
- commit
- rename B -> A
- commit
- rename C -> B
精彩评论