开发者

Perforce - finding files which are modified, added or deleted

开发者 https://www.devze.com 2023-01-08 08:51 出处:网络
For m开发者_如何学JAVAaintaining the quality of our perforce depot, I would like to find file which were modified, added or deleted over a certain period of time - say over last week. How do I do that

For m开发者_如何学JAVAaintaining the quality of our perforce depot, I would like to find file which were modified, added or deleted over a certain period of time - say over last week. How do I do that?


I don't see a way of expressing a date as "@now-7days".

But given this date, you could try to count the lines returned by:

p4 files //...@yyyy/mm/dd,@now


p4 fstat -T "headModTime" FILENAME will get you the time that the head revision of that file was modified. Not entirely sure what format that is in - is it seconds since epoch?

0

精彩评论

暂无评论...
验证码 换一张
取 消