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

Re: custom keywords

From: Marc Haisenko <haisenko_at_webport.de>
Date: 2005-08-12 12:43:28 CEST

On Friday 12 August 2005 12:32, T E Schmitz wrote:
> Hello Marc,
> Marc Haisenko wrote:
> > Sorry if I didn't understand, but why don't you add config-file support
> > to your project and have the data read from a config file ? You'd store
> > one config file per customer and your project sources won't have to be
> > altered for every customer !
> Sorry if I don't understand. I thought svn:keywords can only be used in
> conjunction with the predefined keywords ($Rev$ etc.)?
> How can I maintain a config file per customer? There is only the one in
> the .subversion folder?

No, not SubVersion config files, config files for your application. Code your
application to read the relevant data out of a config file instead of
compiling the data into the application. Say your application reads foo.ini
to get the database name, etc. Then you can add a customer1.ini,
customer2.ini, ... and just rename the one you want to foo.ini. Simple as

Marc Haisenko
Webport IT-Services GmbH
mailto: haisenko@webport.de
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 12 12:45:45 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.