locked
Not possible to create a new branch from a branch based on label? RRS feed

  • Question

  • Hi!

    I'm currently in the process of migrating to TFS and found this inconsistency when it comes to labels and and branches.

    We would like to have a structure like this

    <Release Branch>
           SubSystem1 Folder
           Subsystem2 Folder

    Now I'm able to apply a label to <Relase Branch> and it will get applied recursively to things below (like subsystem 1 and 2). Now when I right click in VS2010 on <Release Branch>  and choose "Branch..." I only get three options as to how to create the new branch

    1. Latest Version
    2. Date
    3. Changeset

    However, If I instead try to create a branch from Subsystem1 Folder I get 5 options

    1. Latest Version
    2. Date
    3. Changeset
    4. Label
    5. Workspace Version

    So the question is, is it possible to somehow create a new branch from a branch based on Label as I can do for a Folder or do I have to include a dummy folder between the branch and the folder structure to be able to branch the whole thing at once?

    Strangely enough merging branches on labels is possible, just not branching ...???

    Thanks in advance,

    Magnus


    Magnus Werner
    Friday, February 4, 2011 7:02 PM

Answers

All replies

  • Found this post http://blogs.msdn.com/b/jongallant/archive/2010/10/26/tfs-2010-branch-by-label-is-back-in-the-ui.aspx

    After installing the hotfix I get the option to branch on label for branches as well. However, when trying to I get an error message saying "TF203035: You can use only a changeset or date version spec for the tf branch /checkin option."

    Below you can see the "About Microsoft Visual Studio" information for version info.

    =======================================================

    Microsoft Visual Studio 2010
    Version 10.0.30319.1 RTMRel
    Microsoft .NET Framework
    Version 4.0.30319 RTMRel

    Installed Version: Ultimate

    Microsoft Office Developer Tools   01019-532-2002102-70455
    Microsoft Office Developer Tools

    Microsoft Visual Basic 2010   01019-532-2002102-70455
    Microsoft Visual Basic 2010

    Microsoft Visual C# 2010   01019-532-2002102-70455
    Microsoft Visual C# 2010

    Microsoft Visual C++ 2010   01019-532-2002102-70455
    Microsoft Visual C++ 2010

    Microsoft Visual F# 2010   01019-532-2002102-70455
    Microsoft Visual F# 2010

    Microsoft Visual Studio 2010 Architecture and Modeling Tools   01019-532-2002102-70455
    Microsoft Visual Studio 2010 Architecture and Modeling Tools
       
    UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.

    Microsoft Visual Studio 2010 Code Analysis Spell Checker   01019-532-2002102-70455
    Microsoft Visual Studio 2010 Code Analysis Spell Checker

    Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

    The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

    Microsoft Visual Studio 2010 Team Explorer   01019-532-2002102-70455
    Microsoft Visual Studio 2010 Team Explorer

    Microsoft Visual Web Developer 2010   01019-532-2002102-70455
    Microsoft Visual Web Developer 2010

    Coded UI Test Editor   1.0
    Enable editing of a UITest (*.uitest) file

    Crystal Reports Templates for Microsoft Visual Studio 2010  
    Crystal Reports Templates for Microsoft Visual Studio 2010

    Hotfix for Microsoft Visual Studio 2010 Ultimate - ENU (KB2403277)   KB2403277
    This hotfix is for Microsoft Visual Studio 2010 Ultimate - ENU.
    If you later install a more recent service pack, this hotfix will be uninstalled automatically.
    For more information, visit http://support.microsoft.com/kb/2403277.

    Hotfix for Microsoft Visual Studio 2010 Ultimate - ENU (KB983504)   KB983504
    This hotfix is for Microsoft Visual Studio 2010 Ultimate - ENU.
    If you later install a more recent service pack, this hotfix will be uninstalled automatically.
    For more information, visit http://support.microsoft.com/kb/983504.

    JetBrains ReSharper 5   C# Edition build 5.0.1659.36 on 2010-04-13T02:19:06
    JetBrains ReSharper 5 package for Microsoft Visual Studio. For more information about ReSharper, visit http://www.jetbrains.com/resharper/. Copyright © 2003–2011 JetBrains, Inc.

    Microsoft Moles   1.0.0.0
    Moles generator for Visual Studio

    Microsoft Pex   0.91.50418.0
    Microsoft Pex Visual Studio Extensions

    Microsoft Team Foundation Server 2010 Power Tools   3.1.30831.0
    Power Tools that extend the Team Foundation Server integration with Visual Studio.

    Microsoft Visual Studio 2010 SharePoint Developer Tools   10.0.30319
    Microsoft Visual Studio 2010 SharePoint Developer Tools

    Microsoft Visual Studio 2010 Visualization and Modeling Feature Pack   2.0
    Extends the visualization and modeling tools in Visual Studio Ultimate:  generate dependency graphs for Web sites and native projects, generate code from UML models, build UML models from Visual C# code, import UML from other tools, create and follow bidirectional links between work items and UML models, and add custom commands and validation code to layer diagrams.

    Microsoft Visual Studio Process Editor   1.0
    Process Editor for Microsoft Visual Studio Team Foundation Server

    Visual Assist X  
    For more information about Visual Assist X, see the Whole Tomato Software website at http://www.WholeTomato.com. Copyright (c) 1997-2010 Whole Tomato Software, Inc.


    Magnus Werner
    • Edited by Magnus Werner Friday, February 4, 2011 7:57 PM Corrected typo
    Friday, February 4, 2011 7:56 PM
  • Solved this issue by

    If you do this you are able to create branches from branches based on label.


    Magnus Werner
    • Marked as answer by Magnus Werner Saturday, February 5, 2011 3:08 PM
    Saturday, February 5, 2011 3:07 PM