Moving files lose history in TFS 2013

前端 未结 4 793
太阳男子
太阳男子 2020-12-05 20:14

I\'m using VS2013 Update 4 with TFS 2013 Update 4. In Source Control Explorer, whenever I move a file from one folder to another I can see that the file\'s history is preser

4条回答
  •  攒了一身酷
    2020-12-05 20:43

    Please find my tf move experience

    There was main branch in the TFS. I've created main-rest on the same hierarchy level as main. Then I tried to move main-rest to another subfolder (to move experimental branches from the $ root to the subfoler.

    I've removed local folder mapping and executed

    tf move $/projectName/main-rest $/projectName/experimental/main-rest

    The command listed all files in the branch in the output. Then I've committed my changes.

    It looks fine, but * there is no branch folder history any more * merge does not see the changesets to merge

    There was a possibility to merge from the main-rest to the main branch before movement. It is still available but no changesets to select when merging.

    There is only one "moved" changeset in the "merge selected changeset only" option. It has happened after the main-rest was moved to the experimental subfolder.

    I hope that it is possible to merge the whole master-rest branch (but it is not right time to test)

    I've used tf.exe command line utility that is shipped with the VS2017 (patched with the latest update available for today). Source code is hosted on the cloud tfs (https://dev.azure.com)

    Regards

提交回复
热议问题