首页 > 解决方案 > 如何解决P4V中使用Clean...但调用Reconcile -n预览结果导致无法清除独占锁文件的问题

问题描述

问题中提到,我经常遇到下图所示的情况: 问题演示

我在Clean...这里使用指令,而不是Reconcile Offline Work...指令 Clean...

标签: perforcep4vperforce-client-spec

解决方案


此错误已在 2016.2 版的服务器中修复:

https://www.perforce.com/perforce/doc.current/user/relnotes.txt

    #1382996 (Job #74886, #86396) **
        'p4 clean' would fail to sync files when needed when they
        are exclusively opened by another client. This has been
        fixed.

仔细检查您是否在服务器的 2016.2+ 版本上;如果是的话,您至少应该能够将p4 clean其用作解决方法(例如,通过将其作为自定义工具添加到 P4V)。


推荐阅读