开发者

SVN refuses to commit. No updates required

开发者 https://www.devze.com 2023-03-17 14:10 出处:网络
I am using Flash Builder for PHP 4.5 to work on a php project. It is essentially Zend Studio which is built on top of eclipse.

I am using Flash Builder for PHP 4.5 to work on a php project. It is essentially Zend Studio which is built on top of eclipse.

I've moved some folders and files, renamed some开发者_JAVA百科 files from within Flash Builder. Some files were also removed. I then attempted to commit to SVN.

SVN comes back with an error saying commit failed as one of the files is not up to date. Conincidentally, this is also one of the files that was removed.

I then proceeded to do an update first and got the message: No changes to merge.

Trying to commit again just results in an error saying that the files are not up to date.

Any ideas as to how I can fix this?


Assuming that it's the deleted file that's making your commits fail, you can try reverting the deleted file, then updating, then deleting again, but if that fails, you might want to consider making a copy of the changes you made in your WC, revert the originals, update the originals, then copy all the changes back.

OR, if you're sure that it's only that deleted file that's making the commit fail, then commit everything else first, then go back and revert the deleted file, update, then delete and commit again. Like I said, SVN is fickle about dirty working copies...

0

精彩评论

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

关注公众号