开发者

SVN: Dealing with svn object of the same name is already scheduled for addition

开发者 https://www.devze.com 2023-01-25 07:52 出处:网络
Everytime I svn update I get the following error Failed to add file path/to/file: object of the same name is already scheduled for addition

Everytime I svn update I get the following error

Failed to add file path/to/file: object of the same name is already scheduled for addition

I tried to rename the file, delete it...but the error is still there.

I've read this article and say something about reverting...but I still can't understand how to do it... http://thrustlabs.com/blog/2007/04/04/dealing-with-svn-object-of-t开发者_开发百科he-same-name-is-already-scheduled-for-addition-errors-on-windows/

Thanks.


What client are you using? For the "plain" svn client, see if any of these solve your problems:

cd /path/to/directory/with/suspected/duplicate
svn revert .
svn cleanup
svn update

If you use TortoiseSVN, rightclick on the folder with issues, then: TortoiseSVN->Revert, TortoiseSVN->Clean up and SVN Update.


Revert is easy: it undoes all changes in your working copy. So, revert the directory and that will un-do the add operation you applied to the file. That should sort your problems out.

After reverting, update the directory.

0

精彩评论

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