Time and ClearCase request

This configuration shows the files I need:

element -dir * '{version(/main/LATEST) && !version(SLT-T)}'
element -file * '{version(/main/LATEST) && !version(SLT)}'

Now I need to see how the source looked at some point in the future, so I do this:

time 01-Nov-2008
element -dir * '{version(/main/LATEST) && !version(SLT-T)}'
element -file * '{version(/main/LATEST) && !version(SLT)}'

Unfortunately, this still shows me the “present”. The manual says:

Temporary rules may be nested. They cannot contain any query language constructs.

OK, but what should I do then?

How can I exclude files and directories with a specific label without using a query language? Or is there a way to specify the time in the query language?

(There is no SLT-T tag in the files, and no SLT tag in the directories.)

+3
source share
1 answer

You tried to add some directives in the query language, for example:

&& !ver{created_since(1-Nov-2008)}
&& ver{created_since(1-Nov-2008)}

( , / 1 2008 .)

.


, :

element /myPath/... /main/{!created_since(01-Sep-2008)}
element /myPath/... /main/LATEST

, .

, , , .

, , .

+3

All Articles