how to find out all the activities happend in a branch in the last month?

后端 未结 2 666
走了就别回头了
走了就别回头了 2020-11-29 13:00

My problem is that The code in the branch I\'m working in for some reason is corrupted now , but I didn\'t make any label in the branch so It\'s hard to \"roll back\" the co

相关标签:
2条回答
  • 2020-11-29 13:17

    Do not forget the time directive of selection rule.

    element /myPath/... /main/{!created_since(16-Sep-2009)}
    element /myPath/... /main/LATEST
    

    Can enable you to see versions from a month ago (see time and query)

    See also "time-based rule" answer.

    From there you can branch and update your code from this older stable point.

    0 讨论(0)
  • 2020-11-29 13:34

    The "lshistory" command can be used to see the list of events that were performed (create version, create branch, etc).

    ct lshistory -since 16-Sep-2009 -branch your_branch -recurse /path/to/vob
    

    This would show all events that happened in /path/to/vob and all files and directories under that happened on your_branch since September 16th, 2009.

    Adding "-short" will show the output as a list of elements and their version extended pathname, without the comments and other information.

    0 讨论(0)
提交回复
热议问题