Question: When should I use the lock command?

- J.D. Meier, Jason Taylor, Alex Mackman, Prashant Bansode

Answer

Use the lock command to prevent other developers from checking out or checking in their changes until you unlock the file on which they are working. You should only lock a file if you are concerned that there will be a conflict resulting in a complicated manual merge operation. Because most conflicts can be resolved automatically, you should use the lock command sparingly, if at all.

Additional Resources


Last edited Jul 18, 2007 at 10:54 PM by jtaylorsi, version 6

Comments

No comments yet.