虽然这两个命令都没有返回:
$ p4 clients -u <USER>
$ p4 changes -s pending -u <USER>
此命令向我显示打开了哪个文件:
$ p4 opened -u <USER>
//depot/path/to/file#1 - edit default change (text) by <USER>@<CLIENT>
此命令不起作用:
$ p4 -u <USER> -H <CLIENT> revert -k //depot/path/to/file
//depot/path/to/file#1 - belongs to user <USER>, not reverted
删除客户端会:
$ p4 client -o <CLIENT> > <CLIENT>.txt
$ p4 client -d -f <CLIENT>
$ p4 opened -u <USER>
File(s) not opened anywhere.
FTW!\o/
如果需要,您可以使用以下命令重新创建客户端:
$ p4 client
然后读入<CLIENT>.txt
您使用输出创建的文件p4 client -o <CLIENT>
并保存。
更多信息:http:
//answers.perforce.com/articles/KB_Article/Reverting-Another-User-s-Files