Perforce p4“描述”命令未列出受影响的文件
当发出“p4describechangelist#”时,有时会列出受影响的文件;有时它们不是,只是显示:
受影响的文件......
有人知道这是为什么吗?
When "p4 describe changelist#" is issued, sometimes the affected files are listed; sometimes they are not and just show:
Affected files ...
Anyone knows why that is?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
最可能的解释:您没有受影响文件的“列出”权限。 p4 Protect 的文档解释了各自的权利。
例如,如果您有
list
,但没有read
权限,p4describe
将输出:同样,如果
list
> right 也丢失了,p4describe
将具有您看到的输出。请咨询您的 Perforce 管理员,了解相应仓库路径的权限(让他针对上述清单发出p4描述
:))Most likely explanation: You do not have 'list' rights for the affected files. The docu for p4 protect explains the respective rights.
For example, if you have
list
, but noread
rights,p4 describe
will output:Likewise, if the
list
right is also missing,p4 describe
will have the output that you saw. Check with your Perforce admin what the rights are for the respective depot path (let him issuep4 describe
for the mentioned checklist :))如果更改列表仅包含搁置的文件,您将看到该行为。例如:
但由于我有被搁置的文件,我可以使用 -S 选项和描述来查看被搁置的文件。
此外,如果更改列表中确实没有文件,则不会显示任何文件,这可能是挂起的更改列表的情况。请注意,上面的描述输出的第一行显示 pending,这意味着此更改列表尚未提交。挂起的更改列表可以为空、包含文件、包含文件和搁置的文件或仅包含搁置的文件。根据该状态,“p4 describe”的输出可能不会显示任何文件。
If the changelist only contains shelved files, you will see that behavior. For example:
but since I have files that are shelved, I can use the -S option with describe to see the files that are shelved.
Also, it will display no files if there are indeed no files in the changelist, which might be the case for pending changelists. Notice that the first line of the describe output above says pending, which means that this changelist hasn't been submitted yet. Pending changelists can be empty, contain files, contain files and shelved file, or only shelved files. Depending on that state, the output of 'p4 describe' might not show any files.
另一种可能性:文件或文件修订已被删除。
删除可能会导致提交的变更列表不引用任何文件。
Another possibility: files or file revisions have been obliterated.
Obliterating can leave submitted changelists that refer to no files.