Changeset 258897 in webkit
- Timestamp:
- Mar 23, 2020 7:05:00 PM (4 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r258893 r258897 1 2020-03-23 Dean Jackson <dino@apple.com> 2 3 webkitpy Git class must expose the repository URL 4 https://bugs.webkit.org/show_bug.cgi?id=209439 5 <rdar://problem/60792668> 6 7 Reviewed by Simon Fraser. 8 9 Some internal tools were relying on the svn_url() method 10 that was changed/removed in r258164. Add a replacement. 11 12 * Scripts/webkitpy/common/checkout/scm/git.py: 13 (Git.svn_repository_url): 14 1 15 2020-03-23 Alex Christensen <achristensen@webkit.org> 2 16 -
trunk/Tools/Scripts/webkitpy/common/checkout/scm/git.py
r258164 r258897 305 305 return self._field_from_git_svn_id(path, 'svn_url') 306 306 307 def svn_repository_url(self): 308 git_command = ['svn', 'info'] 309 status = self._run_git(git_command) 310 match = re.search(r'^URL: (?P<url>.*)$', status, re.MULTILINE) 311 if not match: 312 return "" 313 return match.group('url') 314 307 315 def native_revision(self, path): 308 316 return self._run_git(['-C', self.find_checkout_root(path), 'log', '-1', '--pretty=format:%H'])
Note: See TracChangeset
for help on using the changeset viewer.