Sorry
Walter, I should have said. I did release the file before I checked it out. Also
I checked them out into different directories for each user.
Neil
-----Original Message-----
From: Schell Walter [mailto:[EMAIL PROTECTED]]
Sent: 02 July 2001 12:30
To: 'Neil Blue'
Cc: CVS (E-Mail)
Subject: AW: watchers in awryIt only becomes read-only, if there was no local copy of the file before checkout. Try to release the file and checkout or update again.Walter-----Urspr�ngliche Nachricht-----Hello,
Von: Neil Blue [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 2. Juli 2001 06:04
An: [EMAIL PROTECTED]
Betreff: watchers in awry
I am just trying to learn to use CVS in a group. I am trying to get the watchers working.
This is a short question, but I have included a clear run through (I hope) of what I did.
So far I have created a test module, and added a file to it called rane.txt. I have logged in as the user 'rane', added a watch to the file with:
cvs watch on
and
cvs watch add
I confirmed this with:
cvs watchers
which produced:
[neil@big tester]$ cvs watchers
rane.txt rane edit unedit commit
Next I checked out the same file as a differnt user 'neil', and checked the watchers with:
cvs watchers
which again produced:
[neil@big tester]$ cvs watchers
rane.txt rane edit unedit commit
however when listing the files with ll, I got:
[neil@big tester]$ ll
total 8
drwxrwxrwx 2 neil neil 4096 Jul 1 23:40 CVS/
-rw-rw-rw- 1 neil neil 26 Jul 1 23:37 rane.txt
where I was expecting the rane.txt file now to be checked out as read-only, according to the documentation:
'10.6.3 How to edit a file which is being watched
'
Since a file which is being watched is checked out read-only, you cannot simply edit it. To make it read-write, and inform others that you are planning to edit it, use the
cvs editcommand.
Please could someone explain why the watched file is not read only.
Thank you
Neil Blue
