So, here is a remedy (step-by-step guide):
- Identify names of directories that should be omitted from the checkout.
- Start general checkout of the branch: svn co <branch URL> <directory name>
- Interrupt checkout as soon as it creates directory (directories) that should be omitted.
- Delete directory that should be omitted from the disk.
- Run svn cleanup
- Do a checkout of the directory to be omitted specifying empty depth: svn co <branch URL>/directory --depth empty
- Do this for each directory that should be omitted. Note, that these directories could be situated at any level in the source tree, but the checkout with the empty depth should be done then from the directory that holds the one that should be omitted.
On the very large project it might make sense to do it iteratively, by running the updates and interrupting it immediately after the directory in question is created either by checkout or by update.
No comments:
Post a Comment