2012-12-28 67 views
3

我下载了最新的P4工具同步命令,但它缺少reconcile命令:缺少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 

命令缺少reconcilestatus。服务器版本是2010.2/347035,因为它位于客户端并管理数百个站点,所以无法升级。

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

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

回答

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功能。

+0

似乎我们确实需要升级服务器。我得到了有关问题的答案,但我仍然不清楚为什么P4V可以与旧服务器进行协调。 – stunpix

+0

协调离线工作是该功能的一个类似但不完全相同的实现。事实上,协调离线工作完全在P4V中实施,并且不需要最新的服务器。新的协调功能非常相似,但由服务器和命令行客户端实现,因此在P4V不可用的情况下可用。它们只是类似功能的替代实现。 –

1

这是因为你的P4版本太旧了。 reconcile在2012年发布。

http://www.perforce.com/blog/120126/new-20121-p4reconcile-p4status

我相信你需要在服务器端和客户端,以支持新的功能 - 我可能是错的,但因为你有一个更高版本客户端,我也经历过类似的“这应该只是一个客户端的东西“,这需要服务器支持它(这是4年来,因为我用perforce,所以请原谅,如果我不记得确切哪个功能,它没有工作,因为虽然客户端支持它,服务器没有)

+0

该文章指出它是在2012年推出的,而OP的问题则表明他们使用的是2012.2,所以不是这样。 – Troubadour

+0

但他使用的是服务器版本2010.2--我敢肯定你需要相关的服务器来支持这些东西 - 至少在我的其他功能的经验。 –

+0

这可能是一个好主意,说你的答案,因为那也是原始问题的一部分:) – Troubadour