Question

We are migrating WI & VC from TFS 2008 to TFS 2010. One of the projects uses a folder in VC for their branches of the solution. Over time, they delete branches that are no longer active or needed. We are not truly deleting them using the command line tools, but they are removed from our Source Control Explorer view.

When I migrate their source code, all the deleted folders are migrating too and becoming active (aka not deleted). How do I tell TFS Integration tool to ignore or skip the folders in source control that are deleted?

Was it helpful?

Solution

What you can do is add a <Filter Neglect="true"> to the session configuration. This works the same way as Cloaking does in a workspace mapping. There is a caveat that this can only be done for new session configurations.

See this blog post for more information.

Here is a configuration file sample:

  <Filters>
     <FilterPair Neglect="true">
       <FilterItem MigrationSourceUniqueId="..<guid1>.." FilterString="$/serverpathtocloak" /> 
       <FilterItem MigrationSourceUniqueId="..<guid2>.." FilterString="$/serverpathtocloak" /> 
     </FilterPair>
   </Filters>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top