Searching ClearCase for a checkin with a specific comment

后端 未结 2 1708
日久生厌
日久生厌 2021-01-05 02:50

I\'ve been asked to provide details of a checkin I did about 3 months ago into ClearCase. I know the QC number that was included in the comment but have so far failed utterl

2条回答
  •  滥情空心
    2021-01-05 03:36

    Have you looked at this ? Specifically the section below.

    How to find elements and versions with specific comments

    I want to find all elements/versions with specific comments like “Jane changed this on 11-26”

    M:\my_base_view\my_base_vob>cleartool find -all -exec "cleartool lshistory -minor -fmt \"%n\t%c\n\" \"%CLEARCASE_XPN%\"" >c:\output.txt

    **This will pipe the output to a file and you would have to grep the file for the specific comments you're looking for.

    M:\my_base_view\my_base_vob>cleartool find . -version !"lbtype(LABEL_NAME)" -exec "cleartool describe -long %CLEARCASE_PN%" >c:\output2.txt

    Looks a bit of a fiddly process, regrettably.

提交回复
热议问题