我下载了最新的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
缺少命令reconcile
和status
。服务器版本是2010.2 / 347035,因为它位于客户端并管理着数百个软件仓库,所以无法升级。
从我的角度来看 - reconcile命令应该完全是客户端的,因此它不应该依赖于服务器版本。或者我错了?这些命令丢失的原因是什么?
编辑:在P4V客户端中,我能够运行类似的命令Reconcile offline work
,它可以在我们的服务器上运行。
答案 0 :(得分:5)
某些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功能是否需要新客户端或新服务器,或两者兼而有之。
答案 1 :(得分:1)
那是因为你的P4版本太旧了。 reconcile
是在2012年版本中引入的。
http://www.perforce.com/blog/120126/new-20121-p4reconcile-p4status
我相信你需要服务器和客户端都支持一个新功能 - 我可能是错的,但是因为你有一个以后的客户端,而且我经历过类似的“这应该只是一个客户端的东西”,需要服务器也支持它(自从我使用perforce以来已经4年了,所以请原谅我,如果我不记得究竟哪个功能不起作用,因为虽然客户端支持它,服务器没有)