Re: Keeping the changelog

Posted by Dave_L on 1197071274
For a frequently modified file such as the changelog, a safety measure could be to lock the file before updating your working copy from the repository.

This wouldn't help with the case in which someone forgets to update before committing. But it would help in the following scenario:

1. Person X updates.
2. Person Y updates.
3. Person Y commits.
4. Person X commits.

If Y locked the changelog before doing the update, then X would be unable to commit the changelog. (I think that's how it works.)

Locks are only advisory. If someone locks a file and forgets about it, someone else can unlock it, but it requires an extra step.


This Post was from: