sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jar...@apache.org
Subject git commit: Putting apply errors into code section in JIRA comment
Date Sun, 16 Jun 2013 20:16:38 GMT
Updated Branches:
  refs/heads/SQOOP-1082 1b1bbfd96 -> 6379fe1d1


Putting apply errors into code section in JIRA comment


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

Branch: refs/heads/SQOOP-1082
Commit: 6379fe1d18bf817e1a67e67f7b5bf83a66c3213c
Parents: 1b1bbfd
Author: Jarek Jarcec Cecho <jarcec@apache.org>
Authored: Sun Jun 16 13:16:08 2013 -0700
Committer: Jarek Jarcec Cecho <jarcec@apache.org>
Committed: Sun Jun 16 13:16:08 2013 -0700

----------------------------------------------------------------------
 dev-support/test-patch.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/6379fe1d/dev-support/test-patch.py
----------------------------------------------------------------------
diff --git a/dev-support/test-patch.py b/dev-support/test-patch.py
index 4c9b611..02e53f7 100755
--- a/dev-support/test-patch.py
+++ b/dev-support/test-patch.py
@@ -187,7 +187,7 @@ def git_apply(result, cmd, patch_file, strip, output_dir):
     if output:
       print output
   else:
-    result.fatal("failed to apply patch (exit code %d):\n%s\n" % (rc, output))
+    result.fatal("failed to apply patch (exit code %d):\n{code}%s{code}\n" % (rc, output))
 
 def mvn_clean(result, output_dir):
   rc = execute("mvn clean 1>%s/clean.txt 2>&1" % output_dir)


Mime
View raw message