blog community

Welcome to blog community Sign in | Join | Help
in Search

Raimond Brookman

Architecture and .NET Development

Make your Team Foundation Source Control Workspace efficient using cloaking

A workspace in Team Foundation Server can be tailored to specific needs. That is the main reason why you can have multiple workspaces on the same machine.

For instance, let's say that you have a certain set of directories that you regularly want to get the latest version for. These directories are in a hierarchie, but only 20% of the data in the hierarchie needs to be available locally.

For this situation, you can edit your workspace, and define specific folders that should be Cloaked. (See the dialog below).

Cloaking means that the folder won't be retrieved locally. So this means that I can use the root directory of the hierarchy to do a get-latest of all my folders, without unneeded folder, because they are cloaked.

If you hate using GUI's, you can achieve the same functionality by using the TF command, using the following commandline:

tf workfold /cloak (Team Foundation source control serverfolder|localfolder) [/workspace: workspacename] [/s:servername]tf workfold /cloak (Team Foundation source control serverfolder|localfolder) [/workspace: workspacename] [/s:servername]

One thing you cannot do however (and which I think is a pity) is to cloak a folder, and then make one of its children or folders below that active. This means that when you want to have only one child folder, you cannot cloak the parent and uncloak the child, but have to cloak all the siblings of the one folder you do want to have...

Published Wednesday, June 07, 2006 10:22 PM by Raimondb

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

TrackBack said:

June 7, 2006 10:26 PM
 

Dickhead Spelling Nazi said:

Hierarchy.  

You have good info in here, just please make sure you check your spelling first.  Or you go into the oven.  Your choice.

May 13, 2008 5:53 PM

Leave a Comment

(required) 
(optional)
(required) 
Submit

This Blog

Syndication

News

Subscribe in NewsGator Online

Subscribe in Bloglines

Add to Google


 Visitors since June 2005




Powered by Community Server, by Telligent Systems