[Top][All Lists]

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

Re: disable changes of local file

From: Pierre Asselin
Subject: Re: disable changes of local file
Date: Wed, 13 Jul 2005 01:07:44 +0000 (UTC)
User-agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (NetBSD/2.0 (i386))

address@hidden 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

reply via email to

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