我正在尝试使用p4api.net中的不同用户编辑更改列表说明。是否可以这样做,因为我试图用不同的用户编辑更改列表描述,但它不允许我。如果有任何有力的方法使用p4api.net方法编辑/更新不同用户的更改列表描述,请告诉我。
- 用户A创建的变更列表。
- 用户B想要更新/附加更改列表说明。
答案 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.