gpt4 book ai didi

linux - p4 工具中缺少 perforce reconcile 命令

转载 作者:可可西里 更新时间:2023-11-01 11:46:45 26 4
gpt4 key购买 nike

我下载了最新的 p4 工具,但它缺少 reconcile 命令:

$ p4 -V
Perforce - The Fast Software Configuration Management System.
Copyright 1995-2012 Perforce Software. All rights reserved.
This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit (http://www.openssl.org/)
See 'p4 help legal' for full OpenSSL license information
Version of OpenSSL Libraries: OpenSSL 1.0.1c 10 May 2012
Rev. P4/LINUX26X86_64/2012.2/536738 (2012/10/16).

这里是支持的命令列表(我删除了一些行):

$ p4 help commands
Perforce client commands:

add Open a new file to add it to the depot
admin Perform administrative operations on the server
annotate Print file lines along with their revisions
archive Archive obsolete revisions to archive depots.
...
pull Cause satellite to pull journal or file data from master
rename Explains how to rename files
reopen Change the type or changelist number of an opened file
replicate Poll for journal changes and apply to another server
resolve Merge open files with other revisions or files
resolved Show files that have been merged but not submitted
restore Restore archived revisions to their original location.
revert Discard changes from an opened file
review List and track changelists (for the review daemon)
reviews Show what users are subscribed to review files
set Set variables in the registry (Windows only)
shelve Store files from a pending changelist into the depot
sizes Display size information for files in the depot
submit Submit open files to the depot
sync Synchronize the client with its view of the depot
tag Tag files with a label
tickets Display list of session tickets for this user
...
workspaces Display list of known clients
where Show how file names map through the client view

命令 reconcilestatus 丢失。服务器版本为2010.2/347035,位于客户端,管理数百个仓库,无法升级。

从我的角度来看 - 协调命令应该完全是客户端的,所以它不应该依赖于服务器版本。还是我错了?缺少这些命令的原因是什么?

编辑:在 P4V 客户端中,我可以运行类似的命令 Reconcile offline work 并且它可以在我们的服务器上运行。

最佳答案

一些 Perforce 特性只需要一个更新的服务器;有些需要更新的客户端;有些两者都需要。此处的发行说明中描述了每个新功能的要求:

http://www.perforce.com/perforce/doc.current/user/relnotes.txt

发行说明使用编码机制,其中新功能用 1、2 或 3 个星号标记。如发行说明中所述:

* -- requires new p4 client program    
** -- requires new p4d server program
*** -- requires new p4p proxy program

因此,在协调的情况下,发行说明列出如下:

#367753 (Bug #68, #889, #989) ** *
A new command 'p4 reconcile' allows users to reconcile client
with offline work. The command ...

注意这一行最后显示“** *”;也就是说,同时需要一个新客户端一个新服务器。注释前面的367753表示服务端和客户端都必须是367753或更高版本。

这就是您如何判断您是否需要新客户端或新服务器,或两者兼而有之,以实现特定的 Perforce 功能。

关于linux - p4 工具中缺少 perforce reconcile 命令,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14067458/

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