This doesn't stop people from pulling the trigger. It just makes
it annoying and the user will definately figure it out.
I was actually thinking about this on the way home from work( I had
a user delete a branch with this command the other day ).
I would prefer something in the CVSROOT/config file that can
specify users( or none at all ) who are allowed to do dangerous things.
Or alternatively limiting it to a group. There are a lot of commands
that I would like to restrict the user from running from the command
line that could fall under this type of solution...
donald
On Fri, Jun 01, 2001 at 03:21:59PM -0700, Stephen Cameron wrote:
>
> I have a small patch that might be of use preventing users from accidentally
> deleting branch tags in my usual spot:
> http://www.geocities.com/dotslashstar/branch_patch.html#tagpatch
> (against the latest development version of cvs, 6/1/2001, 5:00pm CDT or so)
>
> I don't have sanity.sh test cases (sorry) and haven't tested a lot yet, (I
> wanted to see if this was considered something worth doing before jumping too
> deep into it.)
>
> The patch by default skips branch tags with a warning when you do:
>
> cvs tag -d sometag
> cvs rtag -d sometag module
>
> It allows deleting branch tags by use of -b option (current CVS forbids the
> combination of -b and -d)
>
> cvs tag -b -d sometag
> cvs rtag -b -d sometag module
>
> if "-b" is specified, both branch and non-branch tags will be deleted. It
> might make sense to instead skip non-branch tags with a warning if -b is
> specified...(that is easily accomplished, presuming my current patch is
> correct, if that is deemed to make more sense.)
>
> Any comments welcome.
>
> -- steve
>
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35
> a year! http://personal.mail.yahoo.com/
>
> _______________________________________________
> Bug-cvs mailing list
> [EMAIL PROTECTED]
> http://mail.gnu.org/mailman/listinfo/bug-cvs
_______________________________________________
Bug-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-cvs