Apply label based on a label

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
ismangil
Posts: 197
Joined: Wed Jun 30, 2004 10:49 am
Location: Sheffield, UK
Contact:

Apply label based on a label

Post by ismangil » Tue Apr 26, 2005 10:05 am

Using command line client, can I apply a label to all items that have a specific label?

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Tue Apr 26, 2005 3:29 pm

This is not currently available. I curious about the use case for this functionality - would a label rename work?

ismangil
Posts: 197
Joined: Wed Jun 30, 2004 10:49 am
Location: Sheffield, UK
Contact:

Post by ismangil » Wed Apr 27, 2005 2:26 am

dan wrote:This is not currently available. I curious about the use case for this functionality - would a label rename work?
No, a label rename is different, although I am in a need of a "mass rename" function as well, but in the GUI client (it's for humans -- see my other post) :)

This one is primarily for our build process so it will be nant-driven.

The use case is our code-build-test-release cycle uses labels to mark the various stages. So for example at build time we want to do a patch build, we would get all files labeled as released (so not always the latest revision in the tree) + get all files based on 'fixed' labels (for all fixes).

And then we want to apply a build number label to all those files above, which we originally did (in PVCS) by applying the build number label on release label and then again on the fixed labels.

So in summary the current labeling capabilities in the clients lacks:
- GUI: in the search tab, search by one or more labels
- GUI: once they're found, for a selection, do mass rename of label1 to label2
- GUI: overwrite label (bump up); so if we apply the same label to a file, instead of refusing, it should offer the option of deleting the label and apply it on the latest revision (default) or a revision chosen by the user.
- Commandline/nant vault task: apply label to all files having a certain label. Potentially needs overwrite label functionality as well.

Hope this is clear :?

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Wed Apr 27, 2005 7:27 am

OK - thanks for the clarification. I've added some features requests to accomplish this.

Post Reply