v5.1.1: label + Inherited labels

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

Moderator: SourceGear

Post Reply
kha
Posts: 221
Joined: Fri Sep 12, 2008 8:25 am

v5.1.1: label + Inherited labels

Post by kha » Thu Dec 01, 2011 2:13 pm

Hi,

I am having question about folder/file labeling in the repository.
If I label the $/Trunk folder, will that label affect (count for) everything under Trunk, or the label is only affect for Trunk folder?

The reason i am asking is when I did the "show labels", i see the option for "show inherited labels". Not sure how it works. Can you please explain and also the "recursive labels"?

Thanks! :D

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

Re: v5.1.1: label + Inherited labels

Post by lbauer » Fri Dec 02, 2011 2:46 pm

If I label the $/Trunk folder, will that label affect (count for) everything under Trunk, or the label is only affect for Trunk folder?
All files and folders under $/Trunk will have the label.

If you label $/Trunk with "MyLabel", and you do a "Show Labels" on $/Trunk/Subfolder/FileA.txt, then "MyLabel" will be seen as an inherited label on FileA.txt. The label was inherited from $/Trunk.

However if you explicitly label FileA.txt with "MyFileLabel, and Show Labels on $/Trunk, then "MyFileLabel" will show up as a recursive label.

So to summarize:

-- An explicit label is one that is applied directly on a file or folder.

-- An inherited label is a label that was applied at a level above the sub folder or file you are using the "Show Labels" command on.

--A recursive label is a label applied to a file or folder under the folder that you are doing the "Show labels" command on.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply