SVN frequently says file is locked by me in another working copy

前端 未结 5 1091
無奈伤痛
無奈伤痛 2021-02-13 12:46

I have an SVN repository (hosted on Dreamhost) with needs-lock set on binary files. It sometimes happen that, while committing files locked and modified by me, the commit fails

5条回答
  •  我寻月下人不归
    2021-02-13 13:35

    Cleanup will not help. That's used for working copy locks, whereas you're running into an issue with files being locked in the repository itself as a means of implementing a mutex between users. See The Three Meanings of "Lock"

    You probably have a client that's locking the file(s) for you in a different working copy without your knowledge (either locally or in a WC on your server), or perhaps you've got a WebDAV share that you've mounted and are opening the file(s) there which is causing a lock to be created.

提交回复
热议问题