cleartool question
Posted
by chuanose
on Stack Overflow
See other posts from Stack Overflow
or by chuanose
Published on 2010-05-28T07:06:53Z
Indexed on
2010/05/28
7:12 UTC
Read the original article
Hit count: 197
Lets say I have a directory at \testfolder, and the latest is currently at /main/10. I know that the operation resulting in testfolder@@/main/6 is to remove a file named test.txt.
What's a sequence of cleartool operations that can be done in a script that will take "testfolder@@/main/6" and "test.txt" as input, and will cat out the contents of test.txt as of that time?
One way I can think of is to get the time of /main/6 operation, create a view with config spec -time set to that time, and then cat the test.txt at the directory. But I'm wondering if I can do this in a easier way that doesn't involve manipulating config specs, perhaps through "cleartool find" and extended path names
© Stack Overflow or respective owner