Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 1. I'd actually say this is a failing of almost every VCS out there because it doesn't let you lock files. CVS is the only VCS that I know of that lets you do this.

Most (if not all) centralized VCS have no issue with letting you lock files (for those where locking is not default or mandatory à la Perforce of course). SVN for instance lets you not only lock files [0] but mandate that files be locked before edition based on their filetype [1] which is usually set for binary and other non-mergeable files. DVCS do not allow for locking because the concept hardly makes sense in a distributed context, so you have to rely on a centralized third-party to manage locks in that context.

[0] http://svnbook.red-bean.com/en/1.5/svn.ref.svn.c.lock.html

[1] http://svnbook.red-bean.com/en/1.5/svn.advanced.locking.html...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: