[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is "cvs watch on" set - How can I tell from the command line?
From: |
Jim Hyslop |
Subject: |
Re: Is "cvs watch on" set - How can I tell from the command line? |
Date: |
Sat, 20 Nov 2010 12:11:53 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 19/11/10 8:38 AM, Peter Toft wrote:
> That information is stored in the CVS/fileattr subdirs within $CVSROOT.
> I see now that suddenly the watch disappeared (actually the two CVS/
> directory from certain parts of the $CVSROOT disappeared).
> Have anyone seen similar troubles?
There are issues with the fileattr file being unexpectedly changed if a
particular user has checked out two copies of a file, but I haven't
heard of any problems with the CVS directory disappearing entirely.
> Question; how can I - from the command line ask whether file XYZ
> has "cvs watch on"?
Looks like you've found one of the holes in the CVS command coverage :-/
As far as I can see, you'll have to write a script to parse CVS/fileattr
for the '_watched=' statement.
- --
Jim Hyslop
Dreampossible: Better software. Simply. http://www.dreampossible.ca
Consulting * Mentoring * Training in
C/C++ * OOD * SW Development & Practices * Version Management
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkzoAVkACgkQLdDyDwyJw+P04ACdEgsX0fosowzYnSFsRXjjMoz3
S1cAoL4Uaj3tLPZdLVwogMERlWqFHCFE
=bLsQ
-----END PGP SIGNATURE-----