[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CVS admin -l DEPRECATED?
From: |
Mark D. Baushke |
Subject: |
Re: CVS admin -l DEPRECATED? |
Date: |
Thu, 12 Feb 2004 09:42:31 -0800 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Aditya Gandhi <address@hidden> writes:
> When I run the cvs -H admin command it shows that the -l command has
> been DEPRECIATED. This is on cvs client/ server
> Client: Concurrent Versions System (CVSNT) 2.0.12 (client/server)
> Server: Concurrent Versions System (scast-vc) (CVS) 1.11.1p1
> (client/server)
>
> While on
> Client: Concurrent Versions System (CVS) 1.11.9 (client)
> Server: Concurrent Versions System (scast-vc) (CVS) 1.11.1p1
> (client/server)
>
> It does not mention that the command has been deprecated.
>
> When was the command deprecated and do we know when it will be removed
> from the available commands list?
The CvsNT source base has added DEPRICATED to the 'cvs admin -l' as of
version 1.33 of src/admin.c on 2003-02-07.
(Use 'cvs -d :pserver:address@hidden:/usr/local/cvs checkout cvsnt'
to take a closer look at their sources.)
This action has not (yet) been taken by the cvshome.org version of cvs.
> Would this suggest that moving forward if we are rolling out a new
> process for the team (we are using CVS for doc mgmt as well and
> therefore need a way to lock docs) we should strongly advise them to use
> cvs edit/ watch rather than cvs admin -l
Yes. The use of 'cvs admin -l' and 'cvs admin -u' to implement RCS-style
locking for 'reserved checkouts' is not well integrated into cvs and is
heavily discouraged (search the mail.gnu.org info-cvs archives).
It looks like the CvsNT folks are in the process of phasing it out in
favor of the use of advisory locking such as 'cvs watch', but I have not
closely read their documentation.
Enjoy!
-- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
iD8DBQFAK7sG3x41pRYZE/gRAu4pAKCeGNPYV1SOcx1o+og2AwYTNroptwCeJWt6
TwV39IXkCf3VX2IyvsiX0wM=
=R4Y9
-----END PGP SIGNATURE-----