Apply a new label at a label

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

Moderator: SourceGear

Post Reply
slolife
Posts: 18
Joined: Wed Sep 10, 2008 11:48 am

Apply a new label at a label

Post by slolife » Thu May 26, 2011 1:08 pm

I'd like to apply a new label to a label that exists. Scenario:

CC.NET builds current code from vault, then labels it as build #XYZ. We might have 10/20/30 builds before we release to production. But when we do release a build to production, it is from label build#abc, so I'd like to add a new label at build#abc to say PRODUCTION_Release-Date.

Is there a way to do this?

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Apply a new label at a label

Post by Beth » Thu May 26, 2011 1:23 pm

There isn't a way to label a label, but there is a way to label a folder at the same folder the other label was applied at.

Was your label #abc applied at a folder, or just on individual files?

Perform a Show Label on either the folder it was applied at or its parent folder. You should see that the label details will tell you exactly what folder the label was applied at and on what version of that folder. Then you can perform a Show History, but click the option "View Folder History by Version". Then you can select the same folder version, click the label button, and apply your new label to the same folder version.
Beth Kieler
SourceGear Technical Support

slolife
Posts: 18
Joined: Wed Sep 10, 2008 11:48 am

Re: Apply a new label at a label

Post by slolife » Fri May 27, 2011 2:33 pm

That worked great. Thank you for list of steps to take. I do apply the label at the folder level, so it was easy to find and to add a new label.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Apply a new label at a label

Post by Beth » Fri May 27, 2011 3:00 pm

Thanks for the update. I'm happy to hear it worked well for you.
Beth Kieler
SourceGear Technical Support

Post Reply