How can I release locks in Subversion recursively?

前端 未结 9 1243
青春惊慌失措
青春惊慌失措 2021-02-01 12:24

I am having a problem with version control in Subversion. I checked out a working copy from respository and got locks on all of its files. Then, without releasing the locks I ha

9条回答
  •  滥情空心
    2021-02-01 13:31

    If you have access to the svnadmin tool in the repo server, you can use this alternative to remove all locks (based on the script posted by VonC)

    svnadmin lslocks  |grep -B2 Owner |grep Path |sed "s/Path: \///" | xargs svnadmin rmlocks 
    

提交回复
热议问题