disable changes of local file

2005-07-12 Thread cgorac
Got large data file in project that I've imported to the repository
along with other files. I'd like this file to be kept in repository,
but that local changes (this file is changend often locally, because of
testing) do not change the copy in repository and that during an update
from repository local copy doesn't change either. Now, I know that I
can accomplish later trough putting this file name in .cvsignore file,
but is there some more proper way and further how to accomplish
first.

Thanks.

___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: disable changes of local file

2005-07-12 Thread Pierre Asselin
[EMAIL PROTECTED] wrote:
 Got large data file in project that I've imported to the repository
 along with other files. I'd like this file to be kept in repository,
 but that local changes (this file is changend often locally, because of
 testing) do not change the copy in repository and that during an update
 from repository local copy doesn't change either.

Not easy.  Anyone can commit new revisions.

What you should do (should have done) is import the file under
a different name, that makes it clear that it is a template for the
tests.  Developers would have to copy the template file to the correct
filename before running their tests.  Since the copied file is not
in CVS, they can make any change they want.

If it's early enough in the game, the path of least resistance is
to rename the ,v file in the repository --but that breaks any
checked out sandbox, so people should check out new ones and
delete the old.


 Now, I know that I
 can accomplish later trough putting this file name in .cvsignore file,
 but is there some more proper way and further how to accomplish
 first.

Actually, no.  Files listed in CVS/Entries are never ignored.


-- 
pa at panix dot com
___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs