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

Re: Can you add a file to an ignore list?

From: Andy Levy <andy.levy_at_gmail.com>
Date: Mon, 7 Jun 2010 11:08:39 -0400

On Mon, Jun 7, 2010 at 10:54, Felix Saphir <felix.saphir_at_kantarmedia.de> wrote:
> blcArmadillo schrieb:
>> I have an issue where I want a generic database config file in the
>> database. When I check out the repository I then want to be able to
>> add that config file to an ignore list so that the settings I enter
>> for my local development environment don't overwrite the version in
>> the repository. The only option I see though is Delete and Ignore. Is
>> there an option somewhere else that does what I'm asking. Thanks.
>
> The recommended practice is, to have a template file (e.g.
> "config.ini.tpl") in the repository, which you then copy to the
> configuration you need locally (e.g. "config.ini")
>
> Another possibility would be, to store all your configuration files in
> separate branches and to switch between these in your working copies.

Another possibility (which is the approach I tend to use) is to make
the application detect what environment it's running in or being
deployed to, and configure itself.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2618028

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-06-07 17:09:07 CEST

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