info-cvs
[Top][All Lists]
Advanced

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

AW: watchers in awry


From: Schell Walter
Subject: AW: watchers in awry
Date: Mon, 2 Jul 2001 13:29:39 +0200

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.
Walter
 -----Ursprüngliche Nachricht-----
Von: Neil Blue [mailto:address@hidden
Gesendet: Montag, 2. Juli 2001 06:04
An: address@hidden
Betreff: watchers in awry

Hello,

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:

[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]