pulling in specific branch and/or label, xml config

Topics: Developer Forum
Mar 3, 2015 at 10:33 PM
Hi,

Could someone give me an example of how to pull in a specific label and a specific branch, using the CC xml config block.

This is what I use to pull in the latest Main:
<sourcecontrol type="vsts">
    <server>http://server/tfs/collection</server>
    <project>$\ProjectName\</project>
    <workingDirectory>$(Root)\$[Folder]\$[Branch]\</workingDirectory>   
    <workspace>$(TFSWorkspacePrefix)_$[Folder]_$[Branch]</workspace>
    <autoGetSource>true</autoGetSource>
    <timeout>2600000</timeout>
</sourcecontrol>
How do I modify that to use:
  1. a specific label
  2. a specific branch/Release entry?
I'm migrating from svn to tfs...

Thanks a lot!

Damian