1

Thank you to Ben Cull for providing the unshelve/migrate instructions in his blog:

Problem:

Unable to unshelve migrate across workspaces

Setup:

  • Workspace 1, Branch a
  • Workspace 2, Branch b
  • Shelveset 999

Execution:

using VSDevCmd.bat

  • tfpt workspaces showed that workspace 1 & 2 do exist
  • tfpt unshelve /migrate /source:"$/project/a" /target:"$/project/b" "999"

Result:

"cannot be unshelved because the server path is not mapped in the local workspace"

Expected:

"merge was successfull"

Research:

I have reviewed unshelve on Microsoft Docs and could not find a workspace parameter.

Question:

Is this possible?

Community
  • 1
  • 1
JDennis
  • 672
  • 6
  • 15

1 Answers1

1

No

This is not possible. You'll need to map both paths in the workspace. Workspace is athe "container" for work in TFVC and there is no command that works cross workspaces.

jessehouwing
  • 106,458
  • 22
  • 256
  • 341
  • I have remapped to a single workspace and found that unshelve migrate works as expected. Thank you. – JDennis Jul 17 '18 at 16:03