> -----Original Message-----
> From: Marc Davenne [mailto:marc.dave...@cramif.cnamts.fr] 
> Sent: 27 June 2013 10:25
> To: Andrew Reedick
> Cc: users@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

Reply via email to