[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Mark a file as locally ignored

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-03-25 18:40:13 CET

On Mar 25, 2005, at 11:34 AM, Patrick Burleson wrote:

> On Fri, 25 Mar 2005 10:49:20 -0500, Toby Johnson <toby@etjohnson.us>
> wrote:
>> I do agree with this. I have the exact same problem myself: I have a
>> development WC for our bugtracking system that points to a different
>> database, so its "localconfig" file must always be different. I can't
>> remove it from version control because I want the "real" one to be
>> checked in.
>>
>
> What I usually do in this situation is have a file called
> <blah>.example (or something like that) be the file under version
> control with the default settings in it. Then when I check out a
> working copy, I just copy the file to the right name and do whatever I
> need to it. Oh, and the correct file name is added to svn:ignore so
> you never have to worry about it or anyone else checking in unwanted
> changes.
>
> Works well on teams I've been on. Something I've done since CVS.
>

And it matches what the FAQ recommends too:

    http://subversion.tigris.org/faq.html#ignore-commit

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 25 18:46:29 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.