info-cvs
[Top][All Lists]
Advanced

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

cvs ignore feature


From: Jeff Decker
Subject: cvs ignore feature
Date: Fri, 24 Dec 2004 21:36:12 -0500
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

Hello,

I'm relativley new to cvs and I'm looking into the ignore features of cvs.

It looks like all the files you put into .cvsignore are to prevent adding to the repository. My question is I am getting the project from a repository that already has files in it but once I get the file I want cvs to ignore any future changes I make to the file. The reason I need to do this is because we have build scripts that I will modify to work on my system but if I commit the changes then it won't work on the official build machine. I want to get the build script from cvs and then when I go to commit my code changes I want it to overlook the actual build script files. And likewise I would like to have it ignore the file when I do an update on the project folder.

I've found a horrible, bad hack to do this. If I go into the hidden cvs folder and remove the file from the entries file, cvs will lose its "link" to that file. This will work for commiting but if I do an update on the project folder I belive it will try to either overwrite my changes or ask me to merge manually (which is an annoyance).

If anyone knows of way to have cvs ignore already commited files, or has any thoughts I would appreciate any help.

Thanks and Happy Holidays,

Jeff




reply via email to

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