I have a maven pom build file in the root directory of my project. When trying to synchronize with SVN repository from Eclipse (Europa), red double directed arrow is being added to the file icon. This means that both my local copy and the one in the repository have been changed since last synchronization.
When I try to do do 'Override and update...' error message is being thrown:
Some resources were not reverted. Attempted to lock an already-locked dir svn: Working copy 'C:\Java\workspaces\pro\myProject-TRUNK' locked
Do you have an idea what should be done in this case?
svn add --force . will add all the files and directories below your current working directory that aren't added yet (and aren't ignored) to your working copy. A svn ci -m "" will then handle the commit. The only way without 'svn add' would be to use 'svn import', but this assumes a new location.
svn cleanup ?
not sure how you'd do that from eclipse though ... but if its a standard svn working copy, you should still be able to do it with another tool.
In Eclipse, to do SVN clean up
Right Click on Locked Project -> Team ->Cleanup
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With