For instance you might have a file
Code: Select all
<?php
$DB_HOST = "e;myhhost.com"e;;
$DB_NAME = "e;my_db"e;;
$DB_UNAUTH_USER = "e;db_unauth"e;;
$DB_UNAUTH_PASS = "e;foo"e;;
$DB_AUTH_USER = "e;db_auth"e;;
$DB_AUTH_PASS = "e;bar"e;;
?>I also use CVS for code rollouts to my beta server, "cvs up" to bring it upto date. A staging server is used to test the actual patch scripts that will hit the production server.
If the "trivial" changes to the configuration file get committed, then of course "cvs up" overwrites the local configuration and I have to reconfigure everything.
Is there a workable solution to this?