tag:blogger.com,1999:blog-12467669.post115954891981893643..comments2023-04-29T07:23:25.825-04:00Comments on Jay Fields' Thoughts: Remove Subversion from a treeJayhttp://www.blogger.com/profile/14491442812573747680noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-12467669.post-1159753587525224882006-10-01T21:46:00.000-04:002006-10-01T21:46:00.000-04:00find . -type d -name ".svn" -exec rm -rf {} \;find . -type d -name ".svn" -exec rm -rf {} \;Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-12467669.post-1159734613539471132006-10-01T16:30:00.000-04:002006-10-01T16:30:00.000-04:00svn export {url of project tree} {local directory}...svn export {url of project tree} {local directory}Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-12467669.post-1159594000027169542006-09-30T01:26:00.000-04:002006-09-30T01:26:00.000-04:00I use this in my Apache config: RewriteRule \.sv...I use this in my Apache config:<BR/> RewriteRule \.svn .nosvnallowed<BR/><BR/>Then I just have a current checkout in my DocumentRoot dir and when I want to update my website I just do an svn up in place. Since the .svn components are rewrtten there's no way anybody can access those files from outside. This is faster than the other options especially for bigger sites because you don't have to recopy the entire website, but instead just update the pages that have changed.<BR/><BR/>Best regards,<BR/><BR/>Rudi CilibrasiAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-12467669.post-1159567277575835182006-09-29T18:01:00.000-04:002006-09-29T18:01:00.000-04:00require 'fileutils'FileUtils.rm_rf(Dir["**/*.svn"]...require 'fileutils'<BR/>FileUtils.rm_rf(Dir["**/*.svn"])<BR/><BR/>Regards,<BR/><BR/>DanDaniel Bergerhttps://www.blogger.com/profile/05224445093970941579noreply@blogger.comtag:blogger.com,1999:blog-12467669.post-1159551326028453422006-09-29T13:35:00.000-04:002006-09-29T13:35:00.000-04:00@jonathan and evanThanks, my command line-fu is we...@jonathan and evan<BR/><BR/>Thanks, my command line-fu is weak. =)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-12467669.post-1159551148089537242006-09-29T13:32:00.000-04:002006-09-29T13:32:00.000-04:00Ah, ships crossing in the night. He's right, thoug...Ah, ships crossing in the night. He's right, though. I forgot -rf.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-12467669.post-1159551056557180012006-09-29T13:30:00.000-04:002006-09-29T13:30:00.000-04:00find . -name ".svn" -exec rm '{}' \;find . -name ".svn" -exec rm '{}' \;Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-12467669.post-1159550957515714022006-09-29T13:29:00.000-04:002006-09-29T13:29:00.000-04:00From the command line this also works:find ./ -nam...From the command line this also works:<BR/><BR/>find ./ -name .svn -exec rm -fr {} \;Anonymousnoreply@blogger.com