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

Re: Feature request: ignore-on-commit setting in repository

From: Jean-Marc van Leerdam <j.m.van.leerdam_at_gmail.com>
Date: Thu, 14 Oct 2010 13:29:14 +0200

Hi,

On 14 October 2010 12:22, Jaap Taal <jaap_at_q42.nl> wrote:
> We have several projects were we have configuration files that are machine dependent (debug settings, connection strings etc).
>
> When you checkout the project, you want to be able to get started right away, with the right config files in the right place etc.
>
> We don't want the files to be changed over time, so either checking them in under a different name (.example is something we sometimes use), or use ignore-on-commit.
>
> What I'd really want is a tsvn:auto-ignore-on-commit property which works as svn:ignore (probably not for directories).
> Files listed in this property would automatically be added to the ignore on commit change list.
>

Several approaches are possible:

1. separate out the local stuff to a few files that are svn-ignored
(and thus non-versioned) and include these files in the actual
configuration files (which are versioned)
2. only version a 'template' version of the configuration files,
forcing users of new working copies to create the actual configuration
files from these templates
3. place the configuration files in a separate folder, outside the
current working copy tree. Create a 'config' tree in the repository
with a folder for each user/workstation and have each user check out
his/her personal folder to the local config folder

SVN recommends using the template method (option 2), but YMMV.

-- 
Regards,
Jean-Marc
--
.       ___
.  @@  // \\      "De Chelonian Mobile"
. (_,\/ \_/ \     TortoiseSVN
.   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
.   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2671707
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-10-14 13:29:24 CEST

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

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