info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to manage the same version of the program with juste one differ


From: Matt Riechers
Subject: Re: How to manage the same version of the program with juste one difference ?
Date: Mon, 10 Sep 2001 12:14:09 -0400

david d wrote:
> 
> Hello,
> 
> Mu problems :
> I developp some internet site in local with php, with some parameters into
> config file like mysql server :
> 
> $host = 'localhost'; -> // fot local test
> $host = 'mysql.provider.fr'; -> // fot online site
> 
> How can I maintained this difference beetween the site delveleopped locally
> and the other one online.

Anything that depends on the build environment should be in the build system,
not in the version control system. If the config is relatively small, you could
keep a 'development' copy and a 'production' copy, and simply use the one you
want when you create a 'build'. There may be other ways to accomplish the same
thing depending on your environment.

-Matt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]