Link to home
Start Free TrialLog in
Avatar of Evan Cutler
Evan CutlerFlag for United States of America

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.
ASKER CERTIFIED SOLUTION
Avatar of Member_2_6582184
Member_2_6582184
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Evan Cutler

ASKER

Thanks much.
if I come up with anything further, I'll re-post.