gpt4 book ai didi

version-control - 详细 p4 同步

转载 作者:行者123 更新时间:2023-12-04 06:50:10 64 4
gpt4 key购买 nike

在可视化 Perforce 客户端 (p4v) 中有一个选项:

显示文件操作的 p4 命令输出

启用后,在日志 Pane 中,我可以看到这样的详细日志记录:

p4 sync /Users/az/ftp/...#head
//depot/ftp/inc/PICHNL.H updated /Users/az/ftp/inc/PICHNL.H
//depot/ftp/src/ftpprot.cpp updated /Users/az/ftp/src/ftpprot.cpp
2 files updated

命令行 perforce 客户端中是否有类似的东西?

在命令行(Cygwin 在 Hudson CI 中运行)执行:
p4 sync /Users/az/ftp/...#head

在整个同步完成之前什么都不显示。

我想在做 p4 sync 时有详细的日志记录.

最佳答案

抱歉,没有更多详细日志可用于在 CLI 中运行命令。当您执行 p4 sync //...它正在报告它所能提供的所有信息。实际上,在 P4V 中执行同步和通过 CLI 执行同步之间的唯一区别是 P4V 会告诉您它更新了多少文件。

P4V 中文件操作的显示 p4 命令输出选项

displays all commands issued by P4V, including commands issued by P4V to obtain status information from the Perforce server. Source: P4V Help file

关于version-control - 详细 p4 同步,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3246463/

64 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com