What is the best way to see what files are locked in Subversion?

后端 未结 4 590
终归单人心
终归单人心 2021-01-31 14:56

I finally got my group to switch from SourceSafe to Subversion. Unfortunately, my manager still wants to use exclusive locks on every single file. So I set the svn:needs-lock

4条回答
  •  灰色年华
    2021-01-31 15:42

    You can discover locks from a local checkout using svn status --show-updates which will put an O before all files which are locked on the server.

    e.g.

    $ svn status --show-updates
         O      279532   LockedFile
    ?                    UncommittedFile
    M           279532   ModifiedFile
    

    see the svnbook for more details

提交回复
热议问题