HADOOP-12244. recover broken rebase during precommit (aw)
This commit is contained in:
parent
53bef9c5b9
commit
b73181f187
@ -947,6 +947,12 @@ function git_checkout
|
||||
# we need to explicitly fetch in case the
|
||||
# git ref hasn't been brought in tree yet
|
||||
if [[ ${OFFLINE} == false ]]; then
|
||||
|
||||
if [[ -f .git/rebase-apply ]]; then
|
||||
hadoop_error "ERROR: previous rebase failed. Aborting it."
|
||||
${GIT} rebase --abort
|
||||
fi
|
||||
|
||||
${GIT} pull --rebase
|
||||
if [[ $? != 0 ]]; then
|
||||
hadoop_error "ERROR: git pull is failing"
|
||||
|
@ -504,6 +504,8 @@ Trunk (Unreleased)
|
||||
HADOOP-12009. Clarify FileSystem.listStatus() sorting order & fix
|
||||
FileSystemContractBaseTest:testListStatus. (J.Andreina via jghoman)
|
||||
|
||||
HADOOP-12244. recover broken rebase during precommit (aw)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
HADOOP-7761. Improve the performance of raw comparisons. (todd)
|
||||
|
Loading…
Reference in New Issue
Block a user