1

有没有办法在 Perforce 中检索文件第一修订版的更改?有时我想阅读引入文件的更改的工作描述,以了解文件的作用,以及查找相关的 CR 以获取更多信息。我正在命令行中寻找一些东西,例如

p4 <something> <file>
4

1 回答 1

2

Ah, never mind, I found the subcommand I needed, p4 fstat, just after posting the question.

$ p4 fstat cama_Preempt#1
... depotFile //depot/MMA/products/CAMA/main/src/testScripts/cama_Preempt
... clientFile /ext1/acheong/CAMA/main/src/testScripts/cama_Preempt
... isMapped
... headAction add
... headType text
... headTime 1174070670
... headRev 1
... headChange 168703
... headModTime 1174070479
... haveRev 1

The headChange field shows the change number.

于 2014-05-22T14:41:07.657 回答