Page MenuHomePhabricator

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

Authored by epriestley on Jan 27 2014, 5:12 PM.
Tags
None
Referenced Files
F14133646: D8077.id18275.diff
Mon, Dec 2, 6:36 AM
Unknown Object (File)
Fri, Nov 29, 1:31 PM
Unknown Object (File)
Fri, Nov 29, 5:33 AM
Unknown Object (File)
Tue, Nov 26, 6:17 AM
Unknown Object (File)
Mon, Nov 25, 11:26 AM
Unknown Object (File)
Sat, Nov 23, 4:17 AM
Unknown Object (File)
Thu, Nov 21, 7:34 AM
Unknown Object (File)
Sat, Nov 16, 8:15 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