sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rzh...@apache.org
Subject sqoop git commit: SQOOP-2425: Sqoop2: Precommit: Do not wipe out working directory on finish
Date Wed, 05 Aug 2015 02:09:34 GMT
Repository: sqoop
Updated Branches:
  refs/heads/sqoop2 9e4c1b671 -> e908d1597


SQOOP-2425: Sqoop2: Precommit: Do not wipe out working directory on finish

(Jarek Jarcec Cecho via Richard Zhou)


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

Branch: refs/heads/sqoop2
Commit: e908d1597715c51f0e098e28ec4ff4b67e2ac9d9
Parents: 9e4c1b6
Author: Richard Zhou <rzhou1@apache.org>
Authored: Wed Aug 5 09:56:18 2015 +0800
Committer: Richard Zhou <rzhou1@apache.org>
Committed: Wed Aug 5 09:56:18 2015 +0800

----------------------------------------------------------------------
 dev-support/test-patch.py | 9 ---------
 1 file changed, 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/e908d159/dev-support/test-patch.py
----------------------------------------------------------------------
diff --git a/dev-support/test-patch.py b/dev-support/test-patch.py
index 4bd5a7d..548faad 100755
--- a/dev-support/test-patch.py
+++ b/dev-support/test-patch.py
@@ -182,14 +182,6 @@ def json_get_version(json):
 
   return versions
 
-def git_cleanup():
-  rc = execute("git clean -d -f", False)
-  if rc != 0:
-    print "ERROR: git clean failed"
-  rc = execute("git reset --hard HEAD", False)
-  if rc != 0:
-    print "ERROR: git reset failed"
-
 def git_checkout(result, branch):
   if not branch:
     result.fatal("Branch wasn't specified nor was correctly guessed")
@@ -399,7 +391,6 @@ class Result(object):
     self.exit_handler()
     self.exit()
   def exit(self):
-    git_cleanup()
     sys.exit(0)
 
 usage = "usage: %prog [options]"


Mime
View raw message