如何使用p4api.net编辑/更新perforce变更列表描述(由A创建)与不同的用户B.

时间:2015-05-06 11:39:24

标签: perforce p4v p4api.net

我正在尝试使用p4api.net中的不同用户编辑更改列表说明。是否可以这样做,因为我试图用不同的用户编辑更改列表描述,但它不允许我。如果有任何有力的方法使用p4api.net方法编辑/更新不同用户的更改列表描述,请告诉我。

- 用户A创建的变更列表。

- 用户B想要更新/附加更改列表说明。

1 个答案:

答案 0 :(得分:1)

一般来说,这是一项特权行动。你不提及用户B是否有特权。如果用户B具有特权,则该用户可以通过指定“强制”来更新其他用户的更改列表。 (-f)flag。

来自' p4帮助改变':

    The -f flag forces the update or deletion of other users' pending
    changelists.  -f can also force the deletion of submitted changelists
    after they have been emptied of files using 'p4 obliterate'.  By
    default, submitted changelists cannot be changed.  The -f flag can
    also force display of the 'Description' field in a restricted
    changelist. Finally the -f flag can force changing the 'User' of
    an empty pending change via -U. The -f flag requires 'admin'
    access granted by 'p4 protect'.  The -f and -u flags are mutually
    exclusive.