1

我正在尝试使用 p4api.net 中的不同用户编辑更改列表描述。是否可以这样做,因为我尝试使用不同的用户编辑更改列表描述,但它不允许我这样做。让我知道是否有任何强有力的方法可以使用 p4api.net 方法与不同的用户一起编辑/更新变更列表描述。

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

- 现在用户 B 想要更新/追加更改列表描述。

4

1 回答 1

1

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

从'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.
于 2015-05-06T13:52:58.693 回答