Working copy XXX locked and cleanup failed in SVN

前端 未结 30 2722
鱼传尺愫
鱼传尺愫 2020-11-28 17:26

I get this error when I do an svn update:

Working copy XXXXXXXX locked Please execute \"Cleanup\" command

When I

相关标签:
30条回答
  • 2020-11-28 17:38

    This one worked for me.

    1. Go to the root folder,
    2. Right click and cleanup
    3. Check all available options
    4. Press ok

    After clean up it will allow you to update to the latest version.

    0 讨论(0)
  • 2020-11-28 17:38

    If you're on a Windows machine, View the repository through a browser and you may well see two files with the same filename but using different cases. Subversion is case sensitive and Windows isn't so you can get a lock when Windows thinks it's pulling down the same file and Subversion doesn't. Delete the duplicate file names on the repository and try again.

    0 讨论(0)
  • 2020-11-28 17:38

    I did the following to fix my issue:

    1. Renamed the offending folder by placing an "_" in front of the folder name.
    2. Did a "Clean Up" of the parent folder.
    3. Renamed the offending folder back to it original name.
    4. Did a commit.
    0 讨论(0)
  • 2020-11-28 17:39

    just delete the .svn folders, then run a cleanup on the parent directory. Works perfectly!!

    0 讨论(0)
  • 2020-11-28 17:40

    In solution explorer, right click on the project, in the opening sub-menu click on subversion and select clean-up. It will solve the problem, as it did for me. Hope it will work.

    0 讨论(0)
  • 2020-11-28 17:41

    the following should do:

    svn status | grep ". L" | sed 's/.* (.*)$/\1/' | awk '{print length($1),$1}' | sort -nr | awk '{print "pushd " $2 "; svn cleanup ; popd"}' | sh

    0 讨论(0)
提交回复
热议问题