perforce - 时间规则必然

标签 perforce clearcase

我想限制 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/

相关文章:

perforce - 如何检查是否已经从命令行登录 perforce

git - 有没有等同于 clearcase catcr 的 git

version-control - 如何配置 Beyond Compare 以忽略评论中的 SCCM 替换文本?

git - 如何从 perforce repo 中克隆 git-p4?

perforce - 在退出之前困惑的集成后,无法从主分支完全集成到功能分支

vim - 禁用VIM中的警告?

git - 另一个版本控制系统是否具有对文件版本的类似 ClearCase 的文件系统访问权限?

clearcase - 查找具有特定属性的 ClearCase 事件

clearcase - 如何使用 ClearCase 命令行工具默认取消保留 checkout

perl - 如何使用 perl 查询元素的作者姓名(用户名)?