info-cvs
[Top][All Lists]
Advanced

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

Re: Exempt files from version control


From: Jan-Georg Smaus
Subject: Re: Exempt files from version control
Date: Fri, 02 Nov 2007 10:10:23 +0100
User-agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.13) Gecko/20060509

Larry Jones wrote:
Jan-Georg Smaus writes:

how can I tell cvs to leave a file alone, i.e., to ignore it in
"cvs update" and "cvs commit" commands? That is to say, I got the file from the Repository using "cvs update", I customized the file for my purposes, and now I want to keep this personal version of the file. I don't want the rest of the world to notice my changes, and I don't want my file to be modified anymore by the rest of the world.


You can't.  But if you explicitly update that file to the revision you
checked out, you'll give it a sticky tag that will prevent CVS from
trying to update it and will cause CVS to complain if you try to commit
it.

-Larry Jones

Everything's gotta have rules, rules, rules! -- Calvin



Thanks for your replies. Seems like it's better in this case for the repository administrator to deliver this file as foo_template, and give instructions to the user "Customize foo_template to your purposes and rename it to foo", rather than having foo under version control. I just agreed with the administrator on this way of proceeding.

Jan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]