Branching off renamed trunk

Published 25 April 09 06:10 AM | eugene.z 

Recently I got asked a small but unobvious branching question. Suppose you have a folder named FolderName, and for some reason you have renamed it to NewFolderName. All is well, but now you decided you want to create a branch from that folder, and to branch from the version prior to renaming.

Due to the reasons detailed in my older post, you will not be able to use branching UI for the operation. The only way to achieve that is to use tf command-line client branch command where you will explicitly specify version you branch from and the folder name at that revision

tf branch /Project/FolderName /Project/Branch /version:C123

Typical mistake people make is to use current item name, NewFolderName instead of the name that existed in the past(i.e. FolderName at the time of changeset 123).

Filed under: ,

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

# Branching off renamed trunk | Microsoft Share Point said on April 25, 2009 1:33 AM:

PingBack from http://microsoft-sharepoint.simplynetdev.com/branching-off-renamed-trunk/

Leave a Comment

(required) 
(optional)
(required) 

  
Enter Code Here: Required

About eugene.z

My name is Eugene Zakhareyev, and I am currently working at Windows division Internal Tools team in Microsoft. In the past I was a consultant at large and Team System MVP, and the past still shapes my current interests.

Search

This Blog

Syndication

Page view tracker