P4 diff と P4 diff2 の違いは何ですか?
2536 次
1 に答える
7
p4 diff
たとえば、ローカルで変更されたファイルをデポのバージョンと比較するために使用されます。サーバー上のp4 diff2
2 つのファイルを比較するために使用されます。
マニュアルから:
$ 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.
于 2012-06-25T09:56:00.923 に答える