You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by en...@apache.org on 2015/02/21 01:28:49 UTC

hbase git commit: HBASE-13081 Branch precommit builds are not updating to branch head before patch application

Repository: hbase
Updated Branches:
  refs/heads/master 9a311303a -> a8555f65f


HBASE-13081 Branch precommit builds are not updating to branch head before patch application


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/a8555f65
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/a8555f65
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/a8555f65

Branch: refs/heads/master
Commit: a8555f65f0551569f07f6a7d207ddc0e56fad03a
Parents: 9a31130
Author: Enis Soztutar <en...@apache.org>
Authored: Fri Feb 20 16:28:47 2015 -0800
Committer: Enis Soztutar <en...@apache.org>
Committed: Fri Feb 20 16:28:47 2015 -0800

----------------------------------------------------------------------
 dev-support/test-patch.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/a8555f65/dev-support/test-patch.sh
----------------------------------------------------------------------
diff --git a/dev-support/test-patch.sh b/dev-support/test-patch.sh
index 117a872..3c35600 100755
--- a/dev-support/test-patch.sh
+++ b/dev-support/test-patch.sh
@@ -230,8 +230,9 @@ checkoutBranch() {
   echo ""
   if [[ $JENKINS == "true" ]] ; then
     if [[ "$BRANCH_NAME" != "master" ]]; then
-      echo "${GIT} checkout ${BRANCH_NAME}"
-      ${GIT} checkout ${BRANCH_NAME}
+      echo "origin/${BRANCH_NAME} HEAD is commit `${GIT} rev-list origin/${BRANCH_NAME} -1`"
+      echo "${GIT} checkout -f  `${GIT} rev-list origin/${BRANCH_NAME} -1`"
+      ${GIT} checkout -f  `${GIT} rev-list origin/${BRANCH_NAME} -1`
       echo "${GIT} status"
       ${GIT} status
     fi