Hi All,
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 'Sparse
Directories<http://svnbook.red-bean.com/nightly/en/svn.advanced.sparse...
'.
For example, to delete directory 'documentation' from your local copy of
trunk permanently, use the following command:
*svn update --set-depth empty documentation*
After this command, the documentation directory will be skipped during
further updates and switches. (To restore it back, use *--set-depth infinity
*).
Windows users may use the following batch-script to delete all documentationand
*\docs directories at once (just save as deletedocs.bat and run from trunk
directory):
@echo DELETING OF documentation...
svn update --set-depth empty documentation
@echo DELETING OF *\docs:
@FOR /f %%d IN ('dir /b /a:d') DO (
@IF EXIST %%d\docs\.svn (
@echo DELETING OF %%d\docs...
svn update --set-depth empty %%d\docs
)
)
Best Regards,
Yahor Radtsevich