Re: Is "cvs watch on" set - How can I tell from the command line?
Jim Hyslop <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.general |
|---|---|
| Message-ID | <[email protected]> |
-----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-----