Hi All,<br><br>If you, like me, are annoyed by looooong time of trunk updates, there is a SVN feature to skip directories you do not use. This feature is called '<a href="http://svnbook.red-bean.com/nightly/en/svn.advanced.sparsedirs.html">Sparse Directories</a>'.<br>
<br>For example, to delete directory 'documentation' from your local copy of trunk permanently, use the following command:<br><b><span style="font-family: courier new,monospace;">svn update --set-depth empty documentation</span></b><br>
After this command, the documentation directory will be skipped during further updates and switches. (To restore it back, use <b><span style="font-family: courier new,monospace;">--set-depth infinity</span></b>).<br><br>
Windows users may use the following batch-script to delete all <span style="font-family: courier new,monospace;">documentation</span>
and <span style="font-family: courier new,monospace;">*\docs</span>
directories at once (just save as <span style="font-family: courier new,monospace;">deletedocs.bat</span> and run from trunk directory):<span style="font-family: courier new,monospace;"></span><span style="font-family: courier new,monospace;"><br>
</span><div style="margin-left: 40px;"><span style="font-family: courier new,monospace;">@echo DELETING OF documentation...</span><br><span style="font-family: courier new,monospace;">svn update --set-depth empty documentation</span><br>
<span style="font-family: courier new,monospace;">@echo DELETING OF *\docs:</span><br><span style="font-family: courier new,monospace;">@FOR /f %%d IN ('dir /b /a:d') DO (</span><br><span style="font-family: courier new,monospace;"> @IF EXIST %%d\docs\.svn (</span><br>
<span style="font-family: courier new,monospace;"> @echo DELETING OF %%d\docs...</span><br><span style="font-family: courier new,monospace;"> svn update --set-depth empty %%d\docs</span><br><span style="font-family: courier new,monospace;"> )</span><br>
<span style="font-family: courier new,monospace;">)</span><br></div><br><br>Best Regards,<br>Yahor Radtsevich<br><br>