Title: [106404] trunk/Tools
Revision
106404
Author
[email protected]
Date
2012-01-31 15:11:13 -0800 (Tue, 31 Jan 2012)

Log Message

Fix the update_webgl_conformance_tests.py script in order to enable it
to detect the SCM being used correctly.
https://bugs.webkit.org/show_bug.cgi?id=77462

Patch by Ehsan Akhgari <[email protected]> on 2012-01-31
Reviewed by Kenneth Russell.

* Scripts/webkitpy/to_be_moved/update_webgl_conformance_tests.py:
(default_out_dir):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (106403 => 106404)


--- trunk/Tools/ChangeLog	2012-01-31 23:09:51 UTC (rev 106403)
+++ trunk/Tools/ChangeLog	2012-01-31 23:11:13 UTC (rev 106404)
@@ -1,3 +1,14 @@
+2012-01-31  Ehsan Akhgari  <[email protected]>
+
+        Fix the update_webgl_conformance_tests.py script in order to enable it
+        to detect the SCM being used correctly.
+        https://bugs.webkit.org/show_bug.cgi?id=77462
+
+        Reviewed by Kenneth Russell.
+
+        * Scripts/webkitpy/to_be_moved/update_webgl_conformance_tests.py:
+        (default_out_dir):
+
 2012-01-31  Eric Seidel  <[email protected]>
 
         webkit-patch apply-from-bug should work regardless of your CWD

Modified: trunk/Tools/Scripts/webkitpy/to_be_moved/update_webgl_conformance_tests.py (106403 => 106404)


--- trunk/Tools/Scripts/webkitpy/to_be_moved/update_webgl_conformance_tests.py	2012-01-31 23:09:51 UTC (rev 106403)
+++ trunk/Tools/Scripts/webkitpy/to_be_moved/update_webgl_conformance_tests.py	2012-01-31 23:11:13 UTC (rev 106404)
@@ -32,6 +32,8 @@
 import re
 import sys
 from webkitpy.common.checkout import scm
+from webkitpy.common.system.filesystem import FileSystem
+from webkitpy.common.system.executive import Executive
 
 
 _log = logging.getLogger(__name__)
@@ -94,7 +96,8 @@
 
 
 def default_out_dir():
-    current_scm = scm.detect_scm_system(os.path.dirname(sys.argv[0]))
+    detector = scm.SCMDetector(FileSystem(), Executive())
+    current_scm = detector.detect_scm_system(os.path.dirname(sys.argv[0]))
     if not current_scm:
         return os.getcwd()
     root_dir = current_scm.checkout_root
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to