Merge "Add support for 'base' in cherry pick dialog" into stable-2.16
This commit is contained in:
@@ -1009,6 +1009,7 @@
|
||||
true,
|
||||
{
|
||||
destination: el.branch,
|
||||
base: el.baseCommit ? el.baseCommit : null,
|
||||
message: el.message,
|
||||
}
|
||||
);
|
||||
|
||||
@@ -595,6 +595,7 @@ limitations under the License.
|
||||
assert.deepEqual(fireActionStub.lastCall.args, [
|
||||
'/cherrypick', action, true, {
|
||||
destination: 'master',
|
||||
base: null,
|
||||
message: 'foo message',
|
||||
},
|
||||
]);
|
||||
|
||||
@@ -74,6 +74,15 @@ limitations under the License.
|
||||
query="[[_query]]"
|
||||
placeholder="Destination branch">
|
||||
</gr-autocomplete>
|
||||
<label for="baseInput">
|
||||
Provide base commit sha1 for cherry-pick
|
||||
</label>
|
||||
<input
|
||||
is="iron-input"
|
||||
id="baseCommitInput"
|
||||
maxlength="40"
|
||||
placeholder="(optional)"
|
||||
bind-value="{{baseCommit}}">
|
||||
<label for="messageInput">
|
||||
Cherry Pick Commit Message
|
||||
</label>
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
|
||||
properties: {
|
||||
branch: String,
|
||||
baseCommit: String,
|
||||
changeStatus: String,
|
||||
commitMessage: String,
|
||||
commitNum: String,
|
||||
|
||||
Reference in New Issue
Block a user