首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >p4diff与p4diff2的区别

p4diff与p4diff2的区别
EN

Stack Overflow用户
提问于 2012-06-25 16:15:26
回答 1查看 2.4K关注 0票数 5

P4 diff和P4 diff2之间的区别是什么?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2012-06-25 17:56:01

在客户端上使用p4 diff,例如将本地修改的文件与仓库上的版本进行比较。p4 diff2用于比较服务器上的两个文件

从手册中:

代码语言:javascript
复制
$ p4 help diff

On the client machine, diff a client file against the corresponding
revision in the depot. The file is compared only if the file is
opened for edit or a revision is provided. See 'p4 help revisions'
for details about specifying revisions.

$ p4 help diff2

'p4 diff2' runs on the server to compare one set of depot files (the
'source') to another (the 'target').  Source and target file sets
can be specified on the 'p4 diff2' command line or through a branch
view.
票数 7
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/11185646

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档