SVN command returned with the following error

19,773

Solution 1

Run a Subversion cleanup command. From the command line, change to your working directory and run:

svn cleanup

If this fails, you may need to get a new working copy and manually copy your changes in.

Solution 2

I add this comment for the people who use Net Beans 8+ . I sorted out the problem. right click on the project > subversion > Working copy > Cleanup

I worked perfectly for me.

Solution 3

Somehow the issue with cleanup never worked for me in this situation, as David mentioned check out again and work with the new copy.

Solution 4

  1. Delete folder with problem file
  2. Update superior folder or all project
  3. Problem solved ;)

Solution 5

I had the same problem. Removing all .svn subdirectories (even that directly under NetbeansProjects) resolved the issue.

Share:
19,773
Denees
Author by

Denees

If you can dream it, you can do it.

Updated on June 28, 2022

Comments

  • Denees
    Denees almost 2 years

    When I want to commit my project to SVN, the following error pops out:

    org.tigris.subversion.javahl.ClientException:
    Working copy '/media/Data/NETBEANS_PROJECTS/myproject/web/pages/ajax-fragments' locked; try performing 'cleanup'
    

    I use NetBeans 7.1 (tried with 7.0.1 and 6.9, the same) and CollabNet Subversion control plugin. What he wants to tell me with 'cleanup'?

  • Denees
    Denees over 12 years
    Thank you, but cleanup did not help, I'll make a new version of the project from the clean.
  • cavila
    cavila over 10 years
    Worked with netbeans 7.3.
  • Jasper de Vries
    Jasper de Vries almost 8 years
    Usefull for Windows users.. cmd can be really annoying when you are used to use Linux.