ICode9

精准搜索请尝试: 精确搜索
首页 > 系统相关> 文章详细

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

2019-08-26 00:51:49  阅读:323  来源: 互联网

标签:linux shell version-control perforce


我下载了最新的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

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有