How can we copy Team Foundation Server Shelveset?

1.1k views Asked by At

My company has changed the Domain , and now my TFS id is also changed, but i want all my old shelvesets to be copied from that username to my new one, for now i have credentials for both the usernames. but want to move/copy shelvesets from one username to another..

please guide is it possible

1

There are 1 answers

5
jessehouwing On BEST ANSWER

You can get the old Shelveset, create a new one with the same name and your new userid and then delete the old shelveset.

Or you can just leave them as is, as you can always unshelve something from another user (even your old user), as long as you know who to look for. Use the Find Shelveset feature and use your old user id.

You could try to do it using the TFS Client Object Model and Powershell. Using the VersionControlClient.UpdateShelveset.