How to find objects between two labels in a drawer
I would like to get all sources / objects between two versions that happened within a month with a clear. I wrote the command below and only displays fewer sources than the actual one.
Please help where I am going wrong.
cleartool find <path> -element "lbtype (Label b) && ! lbtype(label a) && ! -element (.../Branch1/latest)" -print
Where:
- label
a
is the label of the last month's release. - label
b
is the current label - and
branch1
is the branch from which all liberation came
Thanks in advance
+2
a source to share
1 answer
To see what has changed between the two dates:
cleartool find . -version 'created_since(10-Jan) && !created_since(11-Jan)' -print
But in your case, you are missing the ' ' directive (see find examples for more queries): _sub
When the requested type does not apply to the requested "level" (
-element -branch -version
). For example, requesting a label using labels-element ...
only applies to versions within elements.
cleartool find <path> -element "lbtype_sub(Label b) && ! lbtype_sub(label a) && ! -element (.../Branch1/latest)" -print
0
a source to share