[Ilugc] Preventing a file from being updated in CVS

  • From: srinivasanr@xxxxxxxxx (Srinivasan R)
  • Date: Sun Jul 2 18:37:09 2006

On 7/2/06, Srinivasan R <srinivasanr@xxxxxxxxx> wrote:

On 7/2/06, Bhuvaneswaran <bhuvan@xxxxxxxxxx> wrote:
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.

I guess, it's not a general practice. CVS is a VC used for distributed
development. Why do you wish to have a file in CVS and prevent it from
updates done by other developers ? If you wish to prevent, it's also
good to have it out of the repository.

for eg:
It may be required when you have some config file which may have the
password of your database. But you want a file which has no password
mentioned to be maintained in the repository. Every user who checks
out may fill in the details according to the development machine he
uses

http://wiki.rubyonrails.org/rails/pages/HowtoUseRailsWithSubversion
See point no 7 and 8 in this
In this you can ignore database.yml to use version control.


-- 
Next mail in %d minutes
cnu - http://cnu.livejournal.com
http://www.fslog.com - Free Software Blog
http://www.srinivasan.be - $6.25/mo - 15000 MB Data Storage - 300 GB
Data transfer

Other related posts: