RESOLVED FIXED Bug 59884
Move scm.py into its own module in preparation for splitting it up
https://bugs.webkit.org/show_bug.cgi?id=59884
Summary Move scm.py into its own module in preparation for splitting it up
Eric Seidel (no email)
Reported 2011-05-01 12:14:02 PDT
Move scm.py into its own module in preparation for splitting it up
Attachments
Patch (2.85 KB, patch)
2011-05-01 12:18 PDT, Eric Seidel (no email)
abarth: review+
Eric Seidel (no email)
Comment 1 2011-05-01 12:18:04 PDT
WebKit Review Bot
Comment 2 2011-05-01 12:19:21 PDT
Attachment 91833 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Tools/ChangeLog', u'Tools/Scripts/webkitpy..." exit_code: 1 Traceback (most recent call last): File "Tools/Scripts/check-webkit-style", line 51, in <module> from webkitpy.style_references import detect_checkout File "/mnt/git/webkit-style-queue/Tools/Scripts/webkitpy/style_references.py", line 47, in <module> from webkitpy.common.checkout.scm import detect_scm_system File "/mnt/git/webkit-style-queue/Tools/Scripts/webkitpy/common/checkout/scm/__init__.py", line 4, in <module> from .scm import SCM, SVN, Git, CommitMessage, detect_scm_system, find_checkout_root, default_scm, AuthenticationError, AmbiguousCommitError, CheckoutNeedsUpdate ImportError: No module named scm If any of these errors are false positives, please file a bug against check-webkit-style.
Adam Barth
Comment 3 2011-05-01 12:19:36 PDT
Comment on attachment 91833 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=91833&action=review > Tools/Scripts/webkitpy/test/main.py:153 > + # unittest.main has horrible error reporting when module imports are bad > + # so we test import here to make debugging bad imports much easier. > + for module in modules: > + __import__(module) Is this related?
Eric Seidel (no email)
Comment 4 2011-05-01 12:20:24 PDT
(In reply to comment #3) > (From update of attachment 91833 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=91833&action=review > > > Tools/Scripts/webkitpy/test/main.py:153 > > + # unittest.main has horrible error reporting when module imports are bad > > + # so we test import here to make debugging bad imports much easier. > > + for module in modules: > > + __import__(module) > > Is this related? It made it posible to track down the import problems with making changes like this. It would have made tracking down your PIL problem super-easy.
Eric Seidel (no email)
Comment 5 2011-05-01 12:20:57 PDT
Note You need to log in before you can comment on or make changes to this bug.