list parent revision in item history
It doesn't seem possible to find the parent revision of an item on the command line. It would be useful if 'cm hst' listed the parent revision of each revision listed.
It would also be useful for the GUI history table to have a similar column.
Question answered
-
robl commented
cm find "revs" just prints lots of revisions for the root of my workspace (the children are actually all xlinks). How do you get it to search inside?
-
robl commented
'cm find revs' doesn't seem to work, all I get is "Total: 0". 'cm hst' gives many changesets for the same file.
-
Hi,
You can get the item parent revision running the next command:
cm find "revs where item='c:/workspace/foo.txt'" --format="{id}-{item}-{changeset}-{parent}"
Using "--format" option you can configure the output result. More samples at: http://plasticscm.com/guides/cmfind/main.shtml