[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Read only file
From: |
Larry Jones |
Subject: |
Re: Read only file |
Date: |
Mon, 7 Oct 2002 12:31:17 -0400 (EDT) |
dd hh writes:
>
> Is it possible to have a file that can be checkout but
> which cannot be committed or updated? If yes pl let me know how to do
> it. It is required that once this file is checked out changes on the
> particular file can be done on local directory but this file cannot be
> commited back to the repository.Also on doing cvs update the changes
> made in this file in local directory should not be lost .
Yes and no. You can have read-only *directories* in the repository by
setting the permissions to allow reading but not writing, but you can't
have both read-only and writable files in a single directory. Update
never loses local changes unless the user specifically requests it -- by
default, it merges repository changes with the local changes and reports
any resulting conflicts.
-Larry Jones
Well of course the zipper's going to get stuck if everyone
stands around WATCHING me! -- Calvin