1
我在本地使用rm -rf从位置删除文件。当我尝试P4同步文件名但我没有得到文件名和获取消息该文件是更新。我曾经在cvs中运行类似的命令来获取文件cvs update filename。从Perforce获取文件
我在本地使用rm -rf从位置删除文件。当我尝试P4同步文件名但我没有得到文件名和获取消息该文件是更新。我曾经在cvs中运行类似的命令来获取文件cvs update filename。从Perforce获取文件
参见以下内容:http://www.perforce.com/perforce/r12.1/manuals/cmdref/sync.html。
相关部分如下。
Syntax
p4 [g-opts] sync [-f] [-L] [-k] [-n] [-q] [-m max] [file[revRange]...]
p4 [g-opts] sync [-L] [-n] [-q] [-s] [-m max] [file[revRange]...]
p4 [g-opts] sync [-L] [-n] [-p] [-q] [-m max] [file[revRange]...]
你想要的标志如下。
-f
Force the sync. Perforce performs the sync even if the client
workspace already has the file at the specified revision. If
the file is writable, it is overwritten.
This flag does not affect open files, but it does override the
noclobber client option.
非常感谢您的回复... – user765443