Visual Studio 2017 Cannot Move Shelveset to Another Branch

后端 未结 7 787
刺人心
刺人心 2021-02-05 04:20

Since they have supposedly integrated most of the Power Tools functionality into VS2017, the new command \"tf unshelve\" does not work the same as the old command \"tfpt unshelv

7条回答
  •  时光说笑
    2021-02-05 05:16

    Unfortunately move Shelveset to Another Branch with the command "tftp unshelve" or "tf unshelve" is still not supported for now in VS 2017.

    There's already a feedback submitted here to track that, just as Youhana Naseim [MSFT] mentioned below (source here) :

    For VS 2017 we do not have a power tools release. We are constantly evaluating the features that are still missing in the product. The three most notable ones are:

    • TFS Windows Shell Extensions integration

    • Find by Status for server workspaces

    • Unshelve /migrate

    So as a workaround, you can try below ways:

    • Use tf unshelve and tf rename command to achieve this in two steps.
      1). c:\projects>tf unshelve 2). c:\projects>tf rename 314.c ..\newdir\1254.c
    • Copy shelved files manually to target folders and do compare against the server version as Alexander Nikonov mentioned here.
    • Install VS2015 and Microsoft Visual Studio Team Foundation Server 2015 Power Tools.

提交回复
热议问题