Problems committing file to SVN repository

75,377

Solution 1

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.

Solution 2

In Eclipse, to do SVN clean up

Right Click on Locked Project -> Team ->Cleanup

Solution 3

delete the .loc and .log files from the directory if Team->Cleanup is not available to you from subeclipse and update the resources giving you the error message earlier.

Solution 4

It looks like the repository has got a bit confised! You could try a 'svn cleanup' in the project directory.

You can do it on the command line, or using a different tool...

From the command prompt, you'll have to have subversion installed and on the PATH. Close Eclipse, open up a command prompt and cd to the root of the project, then type 'svn cleanup'.

You could also use Tortoise SVN to do the same from Windows Explorer. Install Tortoise SVN and close Eclipse. Within Windows Explorer, navigate to the parent of your project directory, right click on the project folder and select 'Tortoise SVN' -> 'Clean up'

Solution 5

This normally happens when you paste a directory into another in your project.

You have to create the directories manually, then paste all the files.

To solve the issue:

  • Right click on the project (or on a parent directory)
  • Then team
  • Then clean up
Share:
75,377
Boris Pavlović
Author by

Boris Pavlović

Interested in developing programming, concurrent model design skills, design patterns, refactoring, testing... Computer languages: java, javaScript, sql, fsp, erlang...

Updated on July 12, 2022

Comments

  • Boris Pavlović
    Boris Pavlović almost 2 years

    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?