[Top][All Lists]

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

Re: [Info-cvs] Strict Locking patches etc

From: Noel L Yap
Subject: Re: [Info-cvs] Strict Locking patches etc
Date: Mon, 18 Sep 2000 17:59:41 -0400

address@hidden on 2000.09.18 16:01:05
>I have been browsing the egroups message boards/rcvs
>What I need to ask you is firstly I need  the patches for the strict
>locking, where can I download them from, I only see the patches for the
>patches for the/ which ones do I need. Also Is there a way with the "cvs
>edit" to know if the file is already locked by a user(or include a swtitch
>with cvs status to include this feature if not already there).
>I had been using the admin -l here but need to switch to either rcs
>(dont want to because of the features that cvs provides you with) or to stay
>with cvs if there is some feature that can allow me to have a error free
>strict locking. Also is there some way to to remove the question which cvs
>asks if you try to use cvs admin -l on a file that is already locked by
>another user(Do you want to break the lock?) or have a status which can tell
>me about the locks.
>I appreciate your help in this regards,

Take a look at the patches for "cvs edit -c", "cvs edit -f", and "cvs ci -c".
They're not exactly what you're asking for, but they're close.  CVS has no real
strict locking.  What these patches do is mimic locking (eg "cvs edit -c" will
abort if there exists another edit on the file(s) and "cvs ci -c" will abort if
the user doesn't have a valid edit on the file(s)).  "cvs edit -f" allows users
to override an "edit -c" in their .cvsrc file.

The assumption that these patches make is that developers respect the groups'
procedures.  If it's deemed that users should never "cvs edit -f" certain files,
and you find that they do (and that it causes problems for others), they need
some disciplining.


This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan & Co. Incorporated, its
subsidiaries and affiliates.

reply via email to

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