Evan Cutler
asked on
integreated checkouts in SVN
Greetings.
I have a SVN repo with four folders:
/BuildCM
/Trunk
/Branch
/Tag
in my BuildCM folder is a database.php that holds my database parameters. There are four of them.
DatabaseSTG.php
DatabaseTST.php
DatabasePRD.php
Depending on the environment I need that file to be checked out and sent to the application in the /root/config folder.
The root/config/database.php is the file for my dev box. WHen I do a commit, I want the hook to perform an update to the staging environment, then I need DatabaseSTG.php to be pulled out of my SVN CMBuild and sent to /root/config/ folder.
If I do a svn co, will that override the whole folder? I just want the one file to go into that folder.
What can I do?
Thanks.
I have a SVN repo with four folders:
/BuildCM
/Trunk
/Branch
/Tag
in my BuildCM folder is a database.php that holds my database parameters. There are four of them.
DatabaseSTG.php
DatabaseTST.php
DatabasePRD.php
Depending on the environment I need that file to be checked out and sent to the application in the /root/config folder.
The root/config/database.php is the file for my dev box. WHen I do a commit, I want the hook to perform an update to the staging environment, then I need DatabaseSTG.php to be pulled out of my SVN CMBuild and sent to /root/config/ folder.
If I do a svn co, will that override the whole folder? I just want the one file to go into that folder.
What can I do?
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
if I come up with anything further, I'll re-post.