[Top][All Lists]

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

RE: watchers in awry

From: Blue, Neil
Subject: RE: watchers in awry
Date: Mon, 2 Jul 2001 12:37:35 +0100

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.
-----Original Message-----
From: Schell Walter [mailto:address@hidden
Sent: 02 July 2001 12:30
To: 'Neil Blue'
Cc: CVS (E-Mail)
Subject: AW: watchers in awry

It 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.
 -----Urspr√ľngliche Nachricht-----
Von: Neil Blue [mailto:address@hidden
Gesendet: Montag, 2. Juli 2001 06:04
An: address@hidden
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


cvs watch add

I confirmed this with:

cvs watchers

which produced:

[address@hidden 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:

[address@hidden tester]$ cvs watchers
rane.txt    rane    edit    unedit    commit

however when listing the files with ll, I got:

[address@hidden 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 edit command.


Please could someone explain why the watched file is not read only.

Thank you
Neil Blue

reply via email to

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