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

后端 未结 4 562
终归单人心
终归单人心 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:47

    This might not be the answer you're looking for, but you should try to convince the manager that locks are actually not the best development practice. There's lots out there that's been written on this subject, so I won't repeat it all here.

    When you go from a locking environment to one with no enforced checkout locks, at first you think it will lead to chaos, but it really doesn't. SVN is good at merging changes when two people are working on the same file, and even if you end up with conflicts, it's not so bad to fix them.

    Much better than waiting around for the guy who went to lunch with a critical file checked out, or worse yet, went on vacation.

提交回复
热议问题