[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01 Aug 2003 19:40:56 +0200
you might have another person watching your file. To make your file
writable, you then should issue the command:
cvs edit <filename>
The people who watch this file will then be notified via email that you
are editing this file, and the file in your sandbox will become
writable. if you want to commit your changes to the repository then do
so, and after that the file will be read-only again.
If you want to abandon your changes then you can issue:
cvs unedit <filename>
Again, the file will become read-only for you.
Another possibility is that the default check-out method makes your
files read-only. I do not know by heart how this is realised. Maybe
other people could fill in on that...
On Fri, 2003-08-01 at 06:30, Y Hu wrote:
> Thanks Mark.
> The file dummy.c is really in the server depository
> (it is not a real file name, just for example here).
> I know "cvs co module" works, it checks out the whole
> directory. Now, the real question is how do you check
> out a file for editing? I thought "cvs co dummy.c"
> changes a read-only file dummy.c to a read-write file
> in my local directory, so that I can edit the dummy.c
> in my local directory. If I use "cvs update dummy.c",
> it won't change the read-only attribute. What is the
> GNU cvs command to check out a file for editing?
> Thank you.