On Mon, 26 Aug 2002, Paul Sander wrote:

> >> Date: Mon, 26 Aug 2002 14:12:04 -0700 (PDT)
> >> From: Pat Young <[EMAIL PROTECTED]>
> >> To: [EMAIL PROTECTED]
> >> Subject: [info-cvs] Locking a branch
> >> 
> >> What is the best way to lock a branch?  Should I use
> 
> >How about:
> 
> >``Please don't commit to this branch until told otherwise, or you
> >will be fired on grounds of inability to follow instructions.''
> 
> >Why work with people that require a piece of software to stop them from
> >doing what they aren't supposed to?
> 
> Everybody makes mistakes.  Good tools warn people when they're about to
> do something bad.

How can the computer tell that what you are committing is okay or not
for the given branch?

One way is to require the commit message to have a certain format,
like to include 'Bug number: <integer>'.

That's not really locking; that's setting a condition for the commit,
which will catch inappropriate commits, deliberate or accidental.



_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to