我想限制 main 中的文件早于 2013 年 1 月 4 日。在 clearcase
中,我可以使用 time
命令来完成此操作:
time 04-Jan-2013.01:00:00
element * /main/LATEST
我想知道如何在 perforce
中执行此操作?
最佳答案
perforce sync page提到您可以使用日期:
Label or Date
Sync to a specific symbolic revision revision (either a label or date). Enter the label or date in the space provided.
这似乎比 p4 rollback
更合适,它对每个变更列表应用变更列表。
来自p4 sync
:
p4 sync @2011/06/24
Bring the workspace into sync with the depot as of midnight, June 24, 2011. (That is, include all changes made during June 23.)
关于perforce - 时间规则必然,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14201896/