Reject restoring change if its destination branch does not exist
If a branch got deleted and there was an abandoned change for this branch, it was possible to restore this change. Change-Id: I0b17b1b2e4d5cd97bcb1a8a06c3938626250666c Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
@@ -76,7 +76,10 @@ public class ReviewResult {
|
||||
NOT_A_DRAFT,
|
||||
|
||||
/** Error writing change to git repository */
|
||||
GIT_ERROR
|
||||
GIT_ERROR,
|
||||
|
||||
/** The destination branch does not exist */
|
||||
DEST_BRANCH_NOT_FOUND
|
||||
}
|
||||
|
||||
protected Type type;
|
||||
|
Reference in New Issue
Block a user