In Svn, this is easy, because "remote" objects are always of the type remote.Svn. In Git, this is a bit more complicated, because we support both GitHub and BitBucket. With a bit of parsing of the origin URL, though, it's possible to figure out which (if any) remote we have.
<rdar://problem/79299760>
Created attachment 431347 [details] Patch
Comment on attachment 431347 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=431347&action=review Unofficial r+ w/ the memoization comment. > Tools/Scripts/libraries/webkitscmpy/webkitscmpy/local/git.py:140 > + def remote(self, name=None): Would be nice to memoize this function to keep git annotations speedy.
Comment on attachment 431347 [details] Patch r=me
Created attachment 431368 [details] Patch for landing
Found 1 new test failure: imported/w3c/web-platform-tests/webrtc-extensions/transfer-datachannel-service-worker.https.html
Created attachment 434556 [details] Patch
Committed r280440 (240078@main): <https://commits.webkit.org/240078@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 434556 [details].