[SCM] WebKit Debian packaging branch, webkit-1.2, updated. upstream/1.1.90-6072-g9a69373

abarth at webkit.org abarth at webkit.org
Thu Apr 8 02:22:16 UTC 2010


The following commit has been merged in the webkit-1.2 branch:
commit f9f6fa97f8fd80e5deeafd7781dfbbe1e3255f0b
Author: abarth at webkit.org <abarth at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Mon Mar 15 06:16:14 2010 +0000

    2010-03-14  Adam Barth  <abarth at webkit.org>
    
            Unreviewed.
    
            Fix the webkit-patch bots.  Turns out they need the path of the main
            script to run properly.
    
            * Scripts/webkit-patch:
            * Scripts/webkitpy/patch/patcher.py:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55983 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKitTools/ChangeLog b/WebKitTools/ChangeLog
index bdb410d..7fcc387 100644
--- a/WebKitTools/ChangeLog
+++ b/WebKitTools/ChangeLog
@@ -1,3 +1,13 @@
+2010-03-14  Adam Barth  <abarth at webkit.org>
+
+        Unreviewed.
+
+        Fix the webkit-patch bots.  Turns out they need the path of the main
+        script to run properly.
+
+        * Scripts/webkit-patch:
+        * Scripts/webkitpy/patch/patcher.py:
+
 2010-03-14  Darin Adler  <darin at apple.com>
 
         Tell Subversion about more directories that expect to have .pyc files.
diff --git a/WebKitTools/Scripts/webkit-patch b/WebKitTools/Scripts/webkit-patch
index 34adef7..b78786b 100755
--- a/WebKitTools/Scripts/webkit-patch
+++ b/WebKitTools/Scripts/webkit-patch
@@ -62,7 +62,7 @@ def main():
     # version warning.
     from webkitpy.patch.patcher import WebKitPatch
 
-    WebKitPatch().main()
+    WebKitPatch(__file__).main()
 
 
 if __name__ == "__main__":
diff --git a/WebKitTools/Scripts/webkitpy/patch/patcher.py b/WebKitTools/Scripts/webkitpy/patch/patcher.py
index 0f17678..9749cd3 100755
--- a/WebKitTools/Scripts/webkitpy/patch/patcher.py
+++ b/WebKitTools/Scripts/webkitpy/patch/patcher.py
@@ -53,9 +53,10 @@ class WebKitPatch(MultiCommandTool):
         make_option("--status-host", action="store", dest="status_host", type="string", nargs=1, help="Hostname (e.g. localhost or commit.webkit.org) where status updates should be posted."),
     ]
 
-    def __init__(self):
+    def __init__(self, path):
         MultiCommandTool.__init__(self)
 
+        self._path = path
         self.bugs = Bugzilla()
         self.buildbot = BuildBot()
         self.executive = Executive()
@@ -81,7 +82,7 @@ class WebKitPatch(MultiCommandTool):
         return self._scm
 
     def path(self):
-        return __file__
+        return self._path
 
     def should_show_in_main_help(self, command):
         if not command.show_in_main_help:

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list