Relabeling with same label

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

Moderator: SourceGear

Post Reply
alaw
Posts: 5
Joined: Wed Jan 23, 2013 8:17 am

Relabeling with same label

Post by alaw » Wed Feb 06, 2013 10:31 am

I check in a file.
Then I go label it.
QA comes back finds an error.
I correct the error.
Check in the file again.
Goto to apply the same label to the new version.
Gives an error saying I can't do that cause it already exists.

Is there anyway to do this? Meaning some type of admin override.

What I like to see happen is how Perforce works. It says something like "This label has already been applied do you wish to remove it from previous revision and reuse it on this version? Yes/No"

Is there a way to currently do this?

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Relabeling with same label

Post by lbauer » Wed Feb 06, 2013 12:43 pm

You can delete the label and re-label.

To delete a label, right click on a labeled folder/file and select Show Labels. Right click on the label in the list and choose Delete.

You can also promote a label, which changes the contents of a label. Right click on the label in the Show Labels results and click Promotion . . . This will show you the contents of the label. Right-click on a folder to add or delete items. If you right-click on a file you'll also see Change Versions, which allows you to change the version of the file that's in the label.

Hope that helps.

We also have a feature request for Labeling a Label, and I'll add your "vote."
Linda Bauer
SourceGear
Technical Support Manager

alaw
Posts: 5
Joined: Wed Jan 23, 2013 8:17 am

Re: Relabeling with same label

Post by alaw » Wed Feb 06, 2013 12:59 pm

Thanks Lbauer for the response.

Yeah, I knew I could delete it and the reapply it. Just a pain. IE. I am in Visual Studio. I want to check in but need to re-apply a label. So I check in then have to open up source gear and delete the existing label and then reapply it to the most recent version.

I didn't know about promoting I will have to check that out though.

Thanks so much for the info!

Angela

GregM
Posts: 485
Joined: Sat Mar 13, 2004 9:00 am

Re: Relabeling with same label

Post by GregM » Wed Feb 06, 2013 2:04 pm

The thing to watch out for is that a promoted label is, at least in the past, not as functional as a regular label. In particular, unless something has changed, you can't branch from a promoted label.

Post Reply