You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of getting function lines from Searchfox and source contents from hgmo, we could just get everything from Searchfox (we have the data in the page anyway!).
The text was updated successfully, but these errors were encountered:
Since we search functions on "tip" in Searchfox (at least currently) and then get the contents at "commit_hash" (
bugbug/bugbug/code_search/searchfox_api.py
Lines 142 to 147 in 8697b2c
For example, I was running the tool on a revision, and it wanted to know the "ShouldNotProcessUpdatesReasonAsString" function.
We found in on Searchfox at line 4537, but on tip the function moved a bit to line 4525 (https://hg.mozilla.org/mozilla-unified/file/cfc17f0426dd014004b062e7814369bb05a30087/toolkit/xre/nsAppRunner.cpp#l4525).
Instead of getting function lines from Searchfox and source contents from hgmo, we could just get everything from Searchfox (we have the data in the page anyway!).
The text was updated successfully, but these errors were encountered: