Problem
I assume that you already have a working copy of $/branch1.
Let's say it's checked out to local folder c:\inetpub.
And you want to remap this working copy to $/branch2 without re-downloading everything again.
Solution
- First you'll need to unmap existing branch.
- Map working copy folder to new branch.
- Apply remap recursively.
Run the following commands from command line:
tf workfold /unmap $/branch1
tf workfold /map $/branch2 c:\inetpub
tf get c:\inetpub /remap /version:T /recursive
You'll probably want to unshelve a shelveset from another TFS branch afterwards.
No comments:
Post a Comment