Get the changelist number of current workspace dir

2020-05-19 04:53发布

Each time we do a build, we have to record the changelist number of source files for tracking. We have different projects (under different directories) and they are synced at different changelist number. May you please show me how can we get the changelist number of a specific directory?

Any suggestions are appreciated. Thanks and Best Regards

标签: perforce
7条回答
smile是对你的礼貌
2楼-- · 2020-05-19 05:46
p4 cstat //path/to/your/project...#have |grep -B1 have|tail -n2

@thegeco, this does not require high max_scanrows perforce limits

查看更多
登录 后发表回答