Reputation: 2465
I have the below stream in clearcase
[tthangavel@wtl-lbuild-4 fw]$ c lsstream
2016-05-23T03:32:31-04:00 my_stream_name user1
How do I check when was the stream last updated?
Upvotes: 1
Views: 251
Reputation: 1073
The lshist -minor will tell you, if the data has not been scrubbed. But it's not pretty. lshistory -minor will tell you everything involved with the rebase, including removing and recreating the baseline hyperlinks.
Here is the lshistory -minor output of a new rebase:
C:\Users\bcowan.DEV>cleartool lshist -min stream:bcowan_Test_Project_mid@\projects
--08-29T16:02 bcowan set process variable on activity "bcowan_Test_Project_mid"
"Set activity process variable named "UCM_REBASE_MISC"."
--08-29T16:02 bcowan set process variable on activity "bcowan_Test_Project_mid"
"Set activity process variable named "UCM_REBASE"."
--08-29T16:02 bcowan change stream "bcowan_Test_Project_mid"
"Updated config_spec.
Regenerated config spec"
--08-29T16:02 bcowan set process variable on activity "bcowan_Test_Project_mid"
"Set activity process variable named "SUM_CSPEC_ID"."
--08-29T16:02 bcowan make hyperlink "UseBaseline" on activity "bcowan_Test_Project_mid"
"Attached hyperlink "UseBaseline@22347@\projects"."
--08-29T16:02 bcowan remove hyperlink "UseBaseline" from activity "bcowan_Test_Project_mid"
"Removed hyperlink "UseBaseline@562@\projects"."
--08-29T16:02 bcowan set process variable on activity "bcowan_Test_Project_mid"
"Set activity process variable named "UCM_REBASE"."
--08-29T16:02 bcowan set process variable on activity "bcowan_Test_Project_mid"
"Set activity process variable named "UCM_REBASE"."
--08-29T16:02 bcowan set process variable on activity "bcowan_Test_Project_mid"
"Set activity process variable named "UCM_REBASE"."
--08-29T16:02 bcowan set process variable on activity "bcowan_Test_Project_mid"
"Set activity process variable named "UCM_REBASE"."
--08-29T16:02 bcowan set process variable on activity "bcowan_Test_Project_mid"
"Set activity process variable named "UCM_REBASE"."
--08-29T16:02 bcowan set process variable on activity "bcowan_Test_Project_mid"
"Set activity process variable named "UCM_REBASE"."
--08-29T16:02 bcowan set process variable on activity "bcowan_Test_Project_mid"
"Set activity process variable named "UCM_REBASE"."
--08-29T16:02 bcowan set process variable on activity "bcowan_Test_Project_mid"
"Set activity process variable named "UCM_REBASE"."
--08-29T16:02 bcowan set process variable on activity "bcowan_Test_Project_mid"
"Set activity process variable named "UCM_REBASE_MISC"."
--08-29T16:02 bcowan set process variable on activity "bcowan_Test_Project_mid"
"Set activity process variable named "UCM_REBASE"."
This is a SINGLE component update rebase.
How long this data stays in the VOB is controlled by the vob_scrubber_params file (see the "vob_scrubber" man page). The default is to keep all this event data for up to 7 days, and the last on a given stream for 30 days.
Upvotes: 0
Reputation: 1324327
A view is updated, a stream is rebased.
You can check the minor events associated to its history (cleartool lshistory
):
cleartool lshist -min stream:tcp_540_svcommon@\mypvob
(replace mypvob
by the PVob or project vob of that stream, note: /vobs/mypvob
on Unix \mypvob
on Windows)
If that doesn't work, all you can do is check the date of the foundation baselines (using fmt_ccase
):
cleartool descr -fmt "%[found_bls]CXp" stream:tcp_540_svcommon@\mypvob
For each baseline, check its date: the most recent is the last rebase.
Upvotes: 1