Page MenuHomePhabricator

Add `diffusion.querycommits` and deprecate `diffusion.getcommits`
ClosedPublic

Authored by epriestley on Jan 27 2014, 5:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 10, 8:11 AM
Unknown Object (File)
Tue, May 6, 4:39 AM
Unknown Object (File)
Mon, Apr 28, 7:15 PM
Unknown Object (File)
Sat, Apr 26, 7:53 PM
Unknown Object (File)
Sat, Apr 26, 6:03 PM
Unknown Object (File)
Apr 25 2025, 9:42 AM
Unknown Object (File)
Apr 12 2025, 7:27 PM
Unknown Object (File)
Apr 10 2025, 11:24 PM
Subscribers

Details

Summary

Fixes T4344. diffusion.getcommits is nasty old bad news. Implement a modern query method.

This method provides limit/paging in a somewhat abstract way so it's sort of ultramodern, but I didn't want the default behavior to return a million rows. I'll probably move more stuff toward this over time, now that cursor paging is pervasive. Here, we needed extra metadata (the identifier map) anyway.

Test Plan

Used console to execute command.

Diff Detail

Repository
rP Phabricator
Branch
dquery1
Lint
Lint Passed
Unit
No Test Coverage