Page MenuHomePhabricator

Add "" to replace the cache bypass mode of "diffusion.querycommits"

Authored by epriestley on Aug 12 2020, 6:41 PM.



Ref T13552. Commit parsers currently invoke a special mode of "diffusion.querycommits", which is an older frozen method.

The replacement, "", is not really appropriate for low-level access. This mode of having a single method which operates in "cache" or "non-cache" modes also ends up in a lot of unnecessary field shuffling.

Provide "" as a modern equivalent that returns a "DiffusionCommitRef"-compatible structure.

Test Plan

Executed "", got sensible low-level commit results.

Diff Detail

rP Phabricator
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Sep 16 2020, 12:36 AM
This revision was automatically updated to reflect the committed changes.