What will happen, if we assign the same label to a file outside the
hierarchie, for example to $/A/Readme?
Is it possible promote this file to that label?
I don't think that labels are something special in VSS. They just sit
there waiting for the tools to do something with the information. E.g
retrieving files recursively by label is really a get with a timestamp
at the time of the label. Label promotion is built into the tools. If
they encounter the same label as a file label during the recursive get,
theyuse this one.
All labels are also collected in a special directory "data/labels". The
label is used as a file name and the content is a normal INI-File
structure. Here is for example the content of a label, where I used
label promotion:
Label = "0.9.8"
[$/Modules]
Time = 1043240905
[$/Project/A.txt]
Time = 1043241982
[$/Project]
Time = 1043240889
[$/Releases/1.10/Project/A.txt]
Time = 1043241982
[$/Releases/1.6/Project/A.txt]
Time = 1043241982
[$/Releases/1.8/Project/A.txt]
Time = 1043241982
[$/Releases/1.12/Project/A.txt]
Time = 1043241982
[$/Releases/1.14/Project/A.txt]
Time = 1043241982
It is very funny to see, that labels are also recored for shares, that
where create after the assignment of the label ;-)
The only problem with the above szenario (file labels outside the
project hierarchy) is that you can not easily retrieve by this label.
For example you need to start at a project, where the label is assigned
in order to look up the timestamp. From there you can only dive into
subprojects, but you can't get back to the higher levels.
What we can do during the conversion is to collect all labels and find a
common root for all items that are labeled with the same label. Then we
create the "tags/label" directory starting at the common root of the label.
Dirk
_______________________________________________
vss2svn-users mailing list
Project homepage:
http://www.pumacode.org/projects/vss2svn/
Subscribe/Unsubscribe/Admin:
http://lists.pumacode.org/mailman/listinfo/vss2svn-users-lists.pumacode.org