Changeset 58376 in webkit
- Timestamp:
- Apr 27, 2010 9:49:41 PM (14 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r58368 r58376 1 2010-04-27 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 run-bindings-tests doesn't work in an SVN checkout 6 https://bugs.webkit.org/show_bug.cgi?id=38225 7 8 Previously detect_scm_system needed an absolute path for SVN. Now we 9 accept a relative path. 10 11 * Scripts/webkitpy/common/checkout/scm.py: 12 * Scripts/webkitpy/common/checkout/scm_unittest.py: 13 1 14 2010-04-27 Sam Weinig <sam@webkit.org> 2 15 -
trunk/WebKitTools/Scripts/webkitpy/common/checkout/scm.py
r58297 r58376 42 42 43 43 def detect_scm_system(path): 44 if SVN.in_working_directory(path): 45 return SVN(cwd=path) 44 absolute_path = os.path.abspath(path) 45 46 if SVN.in_working_directory(absolute_path): 47 return SVN(cwd=absolute_path) 46 48 47 if Git.in_working_directory( path):48 return Git(cwd= path)49 if Git.in_working_directory(absolute_path): 50 return Git(cwd=absolute_path) 49 51 50 52 return None -
trunk/WebKitTools/Scripts/webkitpy/common/checkout/scm_unittest.py
r58314 r58376 488 488 SVNTestRepository.tear_down(self) 489 489 490 def test_detect_scm_system_relative_url(self): 491 scm = detect_scm_system(".") 492 # I wanted to assert that we got the right path, but there was some 493 # crazy magic with temp folder names that I couldn't figure out. 494 self.assertTrue(scm.checkout_root) 495 490 496 def test_create_patch_is_full_patch(self): 491 497 test_dir_path = os.path.join(self.svn_checkout_path, "test_dir2")
Note: See TracChangeset
for help on using the changeset viewer.