I have been using TortoiseSVN for a开发者_JAVA百科 2-3 months to control my subversion. Today when I tried to commit files to a repository it showed me a strange message like this:
alt text http://lh4.ggpht.com/_DK4gO8ys6jI/TCoFlCXZ8JI/AAAAAAAABoc/fl9q2aWPjY0/error_msg2.PNG
When I went to the menu and selected Cleanup command it showed me this new message box:
alt text http://lh4.ggpht.com/_DK4gO8ys6jI/TCoEws1XFDI/AAAAAAAABoY/osZwXhAXMJA/error_msg.PNG
I have tried to release lock it says that there is nothing to unlock. What happened with my subversion repository? Has anybody met with this problem before? How to solve it? Besides, I had used subversion in a netbeans also to commit files without any problems. But today in a netbeans also it shows strange errors and not submitting my files to the repository. A lot of thanks.Personally in this situation I tend to backup that folders files, delete the whole folder and check it out again, cleanup, then paste the files back in. Not ideal, and far from best practise I would imagine, but it works ;)
I've had similar problems when moving folders around.
Try deleting the .svn or _svn folders and doing an update.
Try deleting or renaming the entire folder and do an update, then manually re-merge your changes into it.
Of course, keep a copy of your changes so you can re-merge them.
I've heard SVN is working on getting rid of all the .svn folders and going to a single metadata file, which would probably keep this kind of problem from happening.
Are you sure your file is not locked by another process ? I see you are using DropBox, maybe it is trying to synchronize it meanwhile ?
精彩评论