-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sandhya <[EMAIL PROTECTED]> writes:
> I received good mails about locking files and I > was able to understand that its quite impossible > in CVS. Well, advisory locks are possible, but generally considered undesirable. > Now What I want to know is about locking a tag. Hmmm... Read this one here: https://www.cvshome.org/docs/manual/cvs-1.11.16/cvs_18.html#SEC177 > When I create a tag, is there any way by which I > lock the tag so that no one else is able to > update it. I mean no one should be able to add > files on to the label other than me. It will depend on how you write the taginfo trigger script. > I was trying to write scripts to acheive this. Good plan. > We can track the user name and other details of > the person who is tagging and then write it to a > file and put a flag against that saying its > locked. Sure. > Whenever users (other than the person who has > tagged) try to add a file on to this tag, it > should throw out some message saying its not > possible. It is your script, you can write it as you wish. > How does this sound ??? Am I missing anything > ??? Any suggesstions on how this could be done > better !! Nothing better comes to mind. There is a hole in that a 'cvs import' might replace or add to the files on your tag... that might be considered a bug. -- Mark -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQFA2S223x41pRYZE/gRAoHGAJ9Jm6e7PgzIlLks0l5wPy8YjpRN9ACgwjhY sTWupbVMeMtTJPBzIB4Leo0= =xE7c -----END PGP SIGNATURE----- _______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/info-cvs
