Search code examples
svntortoisesvnsvn-checkout

How do I only Checkout (pull down) only parts of an SVN tree with TortoiseSVN?


I'm using TortoiseSVN and I want to do a Checkout of an existing repository into a local directory. However, I only want to pull down certain portions of the file tree. Is there a way I can do that?

For instance:

/trunk
    /project-A
    /project-B
    /project-C

Let's say I just want to pull down trunk, project-A and project-B. How do I do that?


Solution

  • It looks like you were successful but I wanted to include a step-by-step guide in the hopes that it is helpful to others.

    1. Checkout trunk into a working copy with depth = "Only this item"
    2. Open working copy
    3. Go to repo browser from the working copy
    4. Select your desired project subfolder(s), right-click and select "Update item to revision"

    This will pull only the subfolder(s) you've selected into your working copy.