[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: access rights to branches
From: |
Laird Nelson |
Subject: |
Re: access rights to branches |
Date: |
Tue, 31 Oct 2000 10:41:19 -0500 |
"Derek R. Price" wrote:
>
> 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.
Quite right, and, I might add, there's no workaround. :-(
Cheers,
Laird
--
W: address@hidden / P: address@hidden
http://www.amherst.edu/~ljnelson/
Good, cheap, fast: pick two.