简体   繁体   中英

What is the easiest way to rename a shelveset in TFS?

I'm trying to rename a shelveset. The only way I can think of to do it is:

  1. Unshelve it (uncheck Preserve shelveset on the server)
  2. Gather all the changes into Included Changes (and exclude everything that wasn't part of that shelveset).
  3. Re-shelve it with a different name

Is there an easier way?

(we are using TFS Version 15.117.26714.0)

What is the easiest way to rename a shelveset in TFS?

Personally think the method you think is the simplest or most direct.

Since TFS teams Suggested on their old user voice forum(Closed now):

Visual Studio Team (Product Team, Microsoft) responded · March 11, 2015 Thanks for the suggestion. We're currently in the planning process for enabling an iterative shelveset experience. We'll update this item when we have more details.

But so far, we do not have a very easiest way to rename a shelveset in TFS. And we do not have a "update shelveset" API in place:

Shelvesets

Do not have option to rename the name by the Shelve Command .

You could check this thread for some more details.

So, I agree with your idea is the easiest and most straightforward, and it is also the method I have used.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM