none
TFS: Problem the renamed files with Workspace.Merge Method RRS feed

  • Question

  • I'm using the Workspace.Merge method to perform a merge, but when I specify the MergeOptionsEX = baseless, the state of the renamed files in the source version is changed to create a branch in the destination version.

    Baseless option links two versions if it doen't exit. So I changed this option to none, the problem of renamed files is solved but I think this solution can't establish the link between two versions.

    Workspace.Merge(sourcePathSpec, targetPath, versionFrom, versionTo, lockLevel, MergeOptionsEx.Baseless);





    Wednesday, February 14, 2018 3:43 PM

All replies

  • Hi redouane mejdi,

    Welcome to the MSDN forum.

    This forum is discussing Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor.

    According to your description, your issue is related to Team Foundation Version Control. Since the TFS forums have been locked, the discussion for TFS has moved, you could get advice on Stack Overflow and just add a tag with TFS in your thread, and then you would get support from TFS members.

    Thanks for your understanding.

    Regards,

    Judyzh


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by redouane mejdi Friday, February 16, 2018 3:11 PM
    • Unmarked as answer by redouane mejdi Friday, February 16, 2018 3:12 PM
    • Proposed as answer by Judy ZhuY Monday, February 19, 2018 1:39 AM
    Thursday, February 15, 2018 5:02 AM
  • Hi redouane,

    If you could get help at Stack Overflow forum, please mark my reply as an answer, this will help other community members understand where to look for answers.

    Thanks for your understanding.

    Regards,

    Judyzh


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, February 19, 2018 1:39 AM