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?
Relabeling with same label
Moderator: SourceGear
Re: Relabeling with same label
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."
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
SourceGear
Technical Support Manager
Re: Relabeling with same label
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
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
Re: Relabeling with same label
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.