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

RE: Question about subversion

From: Cooke, Mark <mark.cooke_at_siemens.com>
Date: Thu, 27 Jun 2013 10:40:34 +0100

> -----Original Message-----
> From: Marc Davenne [mailto:marc.davenne_at_cramif.cnamts.fr]
> Sent: 27 June 2013 10:25
> To: Andrew Reedick
> Cc: users_at_subversion.apache.org
> Subject: Re: Question about subversion
> Thank you for your answers... all of you
> @Andrew
> Thank you, the answers you gave were exactly what I thought
> about (I was
> a little bit too general when I asked the question)
> - concerning answer number 2 (specific files)
> Let's say I have a parameter file with paths for my dev environement.
> Typically I would not put it on svn because everybody has different
> ones... but how to I version the param file (without it the
> application does not work)

I think it was BOb who gave an answer for that one... What I do is to svn:ignore the file itself, then check in a default version with a different filename (e.g. extra `.tmpl` extension) and provide some sort of `initialisation` script that can be used on fresh checkout to copy the template file(s) to the right name(s) for use.

For exmaple, I have several .ini files to target different servers (development, test, site1, site2 etc) all checked in with the actual .ini file name ignored. I then copy the right one for what I want to the right name. The different ini fils are then versioned in the repo.

~ mark c
Received on 2013-06-27 11:41:38 CEST

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.