系统相关
首页 > 系统相关> > linux – 在p4工具中缺少perforce reconcile命令

linux – 在p4工具中缺少perforce reconcile命令

作者:互联网

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

$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

命令协调和状态丢失.服务器版本为2010.2 / 347035,因为它位于客户端并管理着数百个软件仓库,所以无法升级.

从我的角度来看 – reconcile命令应该完全是客户端的,因此它不应该依赖于服务器版本.或者我错了?这些命令丢失的原因是什么?

编辑:在P4V客户端我能够运行类似的命令协调离线工作,它可以在我们的服务器上运行.

解决方法:

一些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,shell,version-control,perforce
来源: https://codeday.me/bug/20190826/1724661.html