ferdBerful Posted July 28, 2016 Report Share Posted July 28, 2016 cm find revision outputs something like this: ... 24 07/26/2016 20:24:42 dir peter /home/peter/experiments/plastic/plastic:8087/peterRepoWs/dir3/subDir3/subSubDir3#br:/main#1 375 07/26/2016 20:28:39 txt peter /home/peter/experiments/plastic/plastic:8087/peterRepoWs/dir1/subDir2/file1#br:/main#2 376 07/26/2016 20:28:39 txt peter /home/peter/experiments/plastic/plastic:8087/peterRepoWs/dir1/subDir2/file2#br:/main#2 377 07/26/2016 20:28:39 txt peter /home/peter/experiments/plastic/plastic:8087/peterRepoWs/dir1/subDir2/file3#br:/main#2 378 07/26/2016 20:28:39 txt peter /home/peter/experiments/plastic/plastic:8087/peterRepoWs/dir1/subDir3/file1#br:/main#2 379 07/26/2016 20:28:39 txt peter /home/peter/experiments/plastic/plastic:8087/peterRepoWs/dir1/subDir3/file2#br:/main#2 380 07/26/2016 20:28:39 txt peter /home/peter/experiments/plastic/plastic:8087/peterRepoWs/dir1/subDir3/file3#br:/main#2 ... I want to use "where parent" to limit the output to just revisions under dir1/subDir2 So I tried: cm find revision where parent="'dir1/subDir2'" and cm find revision where parent="'/home/peter/experiments/plastic/plastic:8087/peterRepoWs/dir1/subDir2'" Neither one produces any results. What kind of thing is "parent" looking for? Link to comment Share on other sites More sharing options...
ferdBerful Posted July 29, 2016 Author Report Share Posted July 29, 2016 Anyone? Link to comment Share on other sites More sharing options...
calbzam Posted August 2, 2016 Report Share Posted August 2, 2016 Hi, I would recommend you to check our "cm find" guide: https://www.plasticscm.com/documentation/cmfind/plastic-scm-version-control-query-system-guide.shtml Regarding the parent option, it refers to the revision parentship (not folder parentship). For instance the next command outputs the different revisions ids and also the ids of the revisions parents. eg: cm find revision --format="{id}#{parent}" Regards, Carlos. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.