[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
abarth at webkit.org
abarth at webkit.org
Wed Dec 22 15:23:39 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit f3b79afe7e39cfdb8bf6566725b76446cc38caa5
Author: abarth at webkit.org <abarth at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Tue Nov 2 18:48:29 2010 +0000
2010-11-02 Adam Barth <abarth at webkit.org>
Reviewed by Eric Seidel.
webkit-patch should tell check-webkit-style which files were changed so
check-webkit-style doesn't have to stat the whole working copy again
https://bugs.webkit.org/show_bug.cgi?id=48792
* Scripts/webkitpy/tool/mocktool.py:
* Scripts/webkitpy/tool/steps/checkstyle.py:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71142 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKitTools/ChangeLog b/WebKitTools/ChangeLog
index 6744be2..580ca1b 100644
--- a/WebKitTools/ChangeLog
+++ b/WebKitTools/ChangeLog
@@ -1,3 +1,14 @@
+2010-11-02 Adam Barth <abarth at webkit.org>
+
+ Reviewed by Eric Seidel.
+
+ webkit-patch should tell check-webkit-style which files were changed so
+ check-webkit-style doesn't have to stat the whole working copy again
+ https://bugs.webkit.org/show_bug.cgi?id=48792
+
+ * Scripts/webkitpy/tool/mocktool.py:
+ * Scripts/webkitpy/tool/steps/checkstyle.py:
+
2010-11-02 Robert Kroeger <rjkroege at chromium.org>
Reviewed by James Robinson.
diff --git a/WebKitTools/Scripts/webkitpy/tool/mocktool.py b/WebKitTools/Scripts/webkitpy/tool/mocktool.py
index af232d9..b6ee95f 100644
--- a/WebKitTools/Scripts/webkitpy/tool/mocktool.py
+++ b/WebKitTools/Scripts/webkitpy/tool/mocktool.py
@@ -424,6 +424,9 @@ class MockSCM(Mock):
# will actually be the root. Since getcwd() is wrong, use a globally fake root for now.
self.checkout_root = self.fake_checkout_root
+ def changed_files(self, git_commit=None):
+ return ["MockFile1"]
+
def create_patch(self, git_commit, changed_files=None):
return "Patch1"
diff --git a/WebKitTools/Scripts/webkitpy/tool/steps/checkstyle.py b/WebKitTools/Scripts/webkitpy/tool/steps/checkstyle.py
index af38214..af66c50 100644
--- a/WebKitTools/Scripts/webkitpy/tool/steps/checkstyle.py
+++ b/WebKitTools/Scripts/webkitpy/tool/steps/checkstyle.py
@@ -52,6 +52,9 @@ class CheckStyle(AbstractStep):
args.append("--git-commit")
args.append(self._options.git_commit)
+ args.append("--diff-files")
+ args.extend(self._changed_files(state))
+
try:
self._run_script("check-webkit-style", args)
except ScriptError, e:
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list