[Ilugc] Re: Preventing a file from being updated in CVS

  • From: vijaykumar@xxxxxxxxxxxx (Vijay Kumar)
  • Date: Sun Jul 2 12:45:22 2006

 <R.Ramkumar> writes:

Is it possible to prevent a file in a CVS tree from being subject to
further updates. I would like to have a local version of those files,
and would not like CVS to try merging or reporting conflicts on those
files.

To hold a file in revision x.x, you can use the following command.

cvs update -r x.x <filename>

Further cvs updates will not modify the file. To get rid of the sticky revision
no. and to move to the head use the following command.

cvs update -A <filename>

Regards,
Vijay

Other related posts: