For years I have had this folder structure in SVN related to Splunk
|
|_apps
| |_my-config
|
|_deployment-apps
| |_my-config
Whenever doing changes in my-config under apps I have had to manually copy the changes to deployment\my-config. But today I realized that I have had it, so Google to the rescue. The solution was to use
svn:externals
. So what I did was
- SVN deleted the folder deployment-apps\my-config
- Updated the folder deployment-apps, added the property
svn:externals my-config https://mysvnserver/svn/myrepo/trunk/apps/my-config
Simple as that, and then when you do svn status you will see that deployment-apps\my-config has an X which indicates that is is external
svn status
X deployment-apps\my-config
Performing status on external item at 'deployment-apps\my-config':