It's all about the answers!

Ask a question

scm list snapshots in the order of creation date


Deepa Saini (123) | asked Sep 04 '12, 2:03 a.m.
I am getting the list of snapshots using "scm list snapshots" command. Initially it returned me the list of snapshots in the order of creation date. But if I modify either the snapshot name/description, the order changes to modification date. I want the snapshot list in the order of creation date only. Is there a way to get this using any option in the command?

Or do I need to sort the list based on the creation date?

-bash-3.2$ scm list snapshots 'track-level-1.1' -v -a n
(1297) "multibaseline" <No comment> Aug 30, 2012 12:33 PM
(1296) "A" <No comment> Aug 30, 2012 12:42 PM
(1282) "componentAdd" <No comment> Aug 30, 2012 12:17 PM
(1283) "secondsnap" <No comment> Aug 29, 2012 1:04 PM
(1284) "firstsnap" <No comment> Aug 29, 2012 1:00 PM
(1285) "02" (Baseline set for CMVC level 02) Aug 28, 2012 3:46 PM
(1286) "01" (Baseline set for CMVC level 01) Aug 28, 2012 3:46 PM

One answer



permanent link
Shashikant Padur (4.2k27) | answered Sep 05 '12, 4:29 a.m.
JAZZ DEVELOPER
No, there isn't a way to change the order returned by the subcommand. Please raise an enhancement request if you need that functionality. Thanks.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.