Using the client app (VaultGUIClient), I am unable to reassign a label to a different version.
Is there any way to MOVE the label, short of deleting the label from the previous version, and adding it again to the new version? Is there no shortcut for doing this?
Please tell me there is an easy way?
How does one move a Label from one version to another?
Moderator: SourceGear
Re: How does one move a Label from one version to another?
Is the label on a folder or a file?
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Re: How does one move a Label from one version to another?
Linda,
at this point, file or folder makes no difference.
If possible, I would be interested in an answer for both. If that is not possible, I would choose FILE, please?
at this point, file or folder makes no difference.
If possible, I would be interested in an answer for both. If that is not possible, I would choose FILE, please?
Re: How does one move a Label from one version to another?
There's no way to move a file label to a different version. You would need to delete the label and re-apply it to the new version. You could automate this with the Command Line Client using the DeleteLabel and Label commands.
http://download.sourcegear.com/misc/vau ... nt/clc.htm
Another idea would be to use a label name you can increment, like Label1, Label2, Label3, etc.
You also can't move a folder label, although you can Promote the label on a folder. To promote a label, right-click on the folder and select Show Labels. Right-click on the label from in the list and select Promotion. You can add or delete an item or change the version of a file from the list of label contents.
http://download.sourcegear.com/misc/vau ... nt/clc.htm
Another idea would be to use a label name you can increment, like Label1, Label2, Label3, etc.
You also can't move a folder label, although you can Promote the label on a folder. To promote a label, right-click on the folder and select Show Labels. Right-click on the label from in the list and select Promotion. You can add or delete an item or change the version of a file from the list of label contents.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Re: How does one move a Label from one version to another?
Linda,
The promotion idea may have merit.
OK, so I have the FOLDER labeled, and can choose the FILES to be associated with the label.
Q: is the label associated with a specific Vault version, or simply with the file? (association keyed on ID, instead of ObjId?)
Thanks to your suggestion, I see that ServerOperations.ProcessCommandRenameLabel may provide some insight.
All of these questions stem from the inability to assign Labels with either the "Classic client" or "Enhanced client" from withing Visual Studio.
The promotion idea may have merit.
OK, so I have the FOLDER labeled, and can choose the FILES to be associated with the label.
Q: is the label associated with a specific Vault version, or simply with the file? (association keyed on ID, instead of ObjId?)
Thanks to your suggestion, I see that ServerOperations.ProcessCommandRenameLabel may provide some insight.
All of these questions stem from the inability to assign Labels with either the "Classic client" or "Enhanced client" from withing Visual Studio.
Re: How does one move a Label from one version to another?
The label is associated with a specific folder version.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager