info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: access rights to branches


From: Derek R. Price
Subject: Re: access rights to branches
Date: Tue, 31 Oct 2000 10:07:21 -0500

Laird Nelson wrote:

> That said, if you know that your user will never try to force a commit
> using the -r switch (don't know how you'd know this, but most users
> don't use this flag), then you can write a commitinfo script that will
> check the old revision number and reject access based on it, making the
> assumption that the new revision number will be the old one with the
> rightmost number incremented by one.  You could also check the tag.

This isn't strictly true.  The first commit of a file to a branch could go
from 1.X to 1.X.Y.1.

Derek

--
Derek Price                      CVS Solutions Architect ( http://CVSHome.org )
mailto:address@hidden     OpenAvenue ( http://OpenAvenue.com )
Cynic:  Someone who smells the flowers and looks for the casket






reply via email to

[Prev in Thread] Current Thread [Next in Thread]