VCS Checkout Rules - one subfolder only

I'm trying to checkout a single subfolder from TFS, but can't find the right checkout rules to get it working and could use some guidance.

I have a source tree that looks something like this:

Source
  |- Foo
  |- Bar
  `- Test
      |- Black
      |- White
      |- Green
      `- TestData


I want to checkout all of Source, but for the Source\Test folder, I only want the TestData subfolder (Black, White and Green have a bunch of giant files that I want to avoid downloading).

I tried this for the checkout rules:
+:.
-:Test
+:Test/TestData

But that ended up excluding the Test folder altogether.

Is there a way to checkout just the TestData folder from under Test without checking out the other subfolders?

1 comment
Comment actions Permalink

Hi John,

Which TeamCity version do you use? We have the related issue https://youtrack.jetbrains.com/issue/TW-37960, which has been already fixed. Please try to upgrade to 9.0 EAP2 version.

0

Please sign in to leave a comment.