Return-Path: X-Original-To: apmail-hadoop-common-commits-archive@www.apache.org Delivered-To: apmail-hadoop-common-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E728410AAB for ; Wed, 26 Aug 2015 16:02:28 +0000 (UTC) Received: (qmail 37901 invoked by uid 500); 26 Aug 2015 16:02:22 -0000 Delivered-To: apmail-hadoop-common-commits-archive@hadoop.apache.org Received: (qmail 37788 invoked by uid 500); 26 Aug 2015 16:02:21 -0000 Mailing-List: contact common-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-commits@hadoop.apache.org Received: (qmail 37720 invoked by uid 99); 26 Aug 2015 16:02:21 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Aug 2015 16:02:21 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id CA116E046A; Wed, 26 Aug 2015 16:02:21 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: aw@apache.org To: common-commits@hadoop.apache.org Message-Id: <36b8fd8f7ad04cb1980edf6362393708@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: hadoop git commit: Revert "HADOOP-12233. if CHANGED_FILES is corrupt, find_changed_modules never returns (Kengo Seki via aw)" Date: Wed, 26 Aug 2015 16:02:21 +0000 (UTC) Repository: hadoop Updated Branches: refs/heads/HADOOP-12111 e7230d1ad -> b006c9a7b Revert "HADOOP-12233. if CHANGED_FILES is corrupt, find_changed_modules never returns (Kengo Seki via aw)" This reverts commit a32b5b01b709ae11dc80c9f972b2e7b84bbce904. Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/b006c9a7 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/b006c9a7 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/b006c9a7 Branch: refs/heads/HADOOP-12111 Commit: b006c9a7bb23e67d9c744ede692be15af4fad315 Parents: e7230d1 Author: Allen Wittenauer Authored: Wed Aug 26 09:02:09 2015 -0700 Committer: Allen Wittenauer Committed: Wed Aug 26 09:02:09 2015 -0700 ---------------------------------------------------------------------- dev-support/test-patch.sh | 14 -------------- 1 file changed, 14 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/b006c9a7/dev-support/test-patch.sh ---------------------------------------------------------------------- diff --git a/dev-support/test-patch.sh b/dev-support/test-patch.sh index 9f08ad3..4d4b63f 100755 --- a/dev-support/test-patch.sh +++ b/dev-support/test-patch.sh @@ -1107,7 +1107,6 @@ function find_buildfile_dir { local buildfile=$1 local dir=$2 - local d yetus_debug "Find ${buildfile} dir for: ${dir}" @@ -1120,12 +1119,6 @@ function find_buildfile_dir yetus_debug "ERROR: ${buildfile} is not found." return 1 else - d=$(cd -P -- "$(dirname -- "${dir}")" >/dev/null && pwd -P) - relative_dir "${d}" >/dev/null - if [[ $? == 1 ]]; then - yetus_debug "ERROR: ${dir} is not in ${BASEDIR}." - return 1 - fi dir=$(dirname "${dir}") fi done @@ -1158,7 +1151,6 @@ function find_changed_files function module_skipdir { local dir=${1} - local d local i yetus_debug "Checking skipdirs for ${dir}" @@ -1178,12 +1170,6 @@ function module_skipdir if [[ ${dir} == "." ]]; then return 0 else - d=$(cd -P -- "$(dirname -- "${dir}")" >/dev/null && pwd -P) - relative_dir "${d}" >/dev/null - if [[ $? == 1 ]]; then - yetus_debug "ERROR: ${dir} is not in ${BASEDIR}." - return 1 - fi dir=$(dirname "${dir}") yetus_debug "Trying to skip: ${dir}" fi