[Top][All Lists]

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

Re: Make cvs ignore some changes in files

From: Mike Ayers
Subject: Re: Make cvs ignore some changes in files
Date: Thu, 22 Aug 2002 12:25:33 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1b) Gecko/20020721

Christian Andersson wrote:

I have some genereated source-files that I need to have in the cvs
(** Yes i know that some of you here do not like that generated stuff gets put into the cvs-system, but due to the fact that some persons with access to this project is not allowed to use (or cannot execute) the generator the generated source files need to be in the cvs, this is how we do it, and how we will do it in the future, so do not flame me for this **) the problem I have is that these files often gets generated when there is nothing changed to them (it is part of some compilation sections) what happens is that I get new generated files that has only one difference, a remark in the file telling when it was generated..

        Without having tried it, may I suggest:

        1)  Put the generated file in the .cvsignore.

2) Use a commit script that checks the filename of the commited file. If it is the source file, then make the generated file and check it in.

        Just a thought,


reply via email to

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