From b73181f18702f9dc2dfc9d3cdb415b510261e74c Mon Sep 17 00:00:00 2001 From: Allen Wittenauer Date: Thu, 13 Aug 2015 12:29:19 -0700 Subject: [PATCH] HADOOP-12244. recover broken rebase during precommit (aw) --- dev-support/test-patch.sh | 6 ++++++ hadoop-common-project/hadoop-common/CHANGES.txt | 2 ++ 2 files changed, 8 insertions(+) diff --git a/dev-support/test-patch.sh b/dev-support/test-patch.sh index efcd614207..a3cdc85b8d 100755 --- a/dev-support/test-patch.sh +++ b/dev-support/test-patch.sh @@ -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" diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index c80be05a67..5d8d20dac8 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -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)