{"id":8529,"date":"2017-12-08T12:47:00","date_gmt":"2017-12-08T12:47:00","guid":{"rendered":""},"modified":"2026-04-18T22:26:37","modified_gmt":"2026-04-18T22:26:37","slug":"svnexternals-to-the-rescue","status":"publish","type":"post","link":"https:\/\/hellem.org\/wblog\/?p=8529","title":{"rendered":"Svn:externals to the rescue"},"content":{"rendered":"<p>For years I have had this folder structure in SVN related to Splunk<br \/>\n<code><br \/>\n|<br \/>\n|_apps<br \/>\n|  |_my-config<br \/>\n|<br \/>\n|_deployment-apps<br \/>\n|  |_my-config<br \/>\n<\/code><br \/>\nWhenever 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 <\/p>\n<pre>svn:externals<\/pre>\n<p>. So what I did was<\/p>\n<ol>\n<li>SVN deleted the folder deployment-apps\\my-config<\/li>\n<li>Updated the folder deployment-apps, added the property <code>svn:externals my-config https:\/\/mysvnserver\/svn\/myrepo\/trunk\/apps\/my-config<\/code><\/li>\n<\/ol>\n<p>Simple as that, and then when you do <code>svn status<\/code> you will see that deployment-apps\\my-config has an X which indicates that is is external<br \/>\n<code><br \/>\nsvn status<br \/>\nX       deployment-apps\\my-config<\/p>\n<p>Performing status on external item at 'deployment-apps\\my-config':<br \/>\n<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[47],"tags":[],"class_list":["post-8529","post","type-post","status-publish","format-standard","hentry","category-work-geek"],"_links":{"self":[{"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=\/wp\/v2\/posts\/8529","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8529"}],"version-history":[{"count":1,"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=\/wp\/v2\/posts\/8529\/revisions"}],"predecessor-version":[{"id":9088,"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=\/wp\/v2\/posts\/8529\/revisions\/9088"}],"wp:attachment":[{"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8529"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8529"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8529"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}