Update document of cherry-pick endpoints

This change links the document of cherry-pick revision and cherry-pick
commit so that when users find one endpoint they can also find the other
one easily.

Change-Id: I9a12226cfd3cd7eb0ce468ff387a5e04e22797c3
This commit is contained in:
Changcheng Xiao
2017-10-23 14:57:42 +02:00
parent c1609c6fa7
commit 54b6c0c4dc
2 changed files with 5 additions and 0 deletions

View File

@@ -5201,6 +5201,9 @@ Deletes the reviewed flag of the calling user from a file of a revision.
Cherry picks a revision to a destination branch.
To cherry pick a commit with no change-id associated with it, see
link:rest-api-projects.html#cherry-pick-commit[CherryPickCommit].
The commit message and destination branch must be provided in the request body inside a
link:#cherrypick-input[CherryPickInput] entity. If the commit message
does not specify a Change-Id, a new one is picked for the destination change.

View File

@@ -2365,6 +2365,8 @@ The content is returned as base64 encoded string.
Cherry-picks a commit of a project to a destination branch.
To cherry pick a change revision, see link:rest-api-changes.html#cherry-pick[CherryPick].
The destination branch must be provided in the request body inside a
link:rest-api-changes.html#cherrypick-input[CherryPickInput] entity.
If the commit message is not set, the commit message of the source