Changeset 91045 in webkit
- Timestamp:
- Jul 14, 2011 7:33:30 PM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r91042 r91045 1 2011-07-14 Eric Seidel <eric@webkit.org> 2 3 Move webkitpy off of loose mocks 4 https://bugs.webkit.org/show_bug.cgi?id=64508 5 6 Unreviewed. Fixing a test which fails under test-webkitpy --all (but not in a normal run). 7 8 * Scripts/webkitpy/common/checkout/scm/git.py: 9 1 10 2011-07-14 Adam Barth <abarth@webkit.org> 2 11 -
trunk/Tools/Scripts/webkitpy/common/checkout/scm/git.py
r91001 r91045 101 101 @classmethod 102 102 def find_checkout_root(cls, path): 103 # FIXME: This should use a FileSystem object instead of os.path. 103 104 # "git rev-parse --show-cdup" would be another way to get to the root 104 105 (checkout_root, dot_git) = os.path.split(run_command(['git', 'rev-parse', '--git-dir'], cwd=(path or "./"))) … … 109 110 @classmethod 110 111 def to_object_name(cls, filepath): 111 root_end_with_slash = self._filesystem.join(cls.find_checkout_root(self._filesystem.dirname(filepath)), '') 112 # FIXME: This should use a FileSystem object instead of os.path. 113 root_end_with_slash = os.path.join(cls.find_checkout_root(os.path.dirname(filepath)), '') 112 114 return filepath.replace(root_end_with_slash, '') 113 115
Note: See TracChangeset
for help on using the changeset viewer.