Page MenuHomePhabricator

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

Authored by epriestley on Jan 27 2014, 5:12 PM.
Tags
None
Referenced Files
F15446942: D8077.id18282.diff
Thu, Mar 27, 8:59 PM
F15442237: D8077.id.diff
Wed, Mar 26, 10:15 PM
F15442029: D8077.id18275.diff
Wed, Mar 26, 9:02 PM
F15435913: D8077.diff
Tue, Mar 25, 10:52 AM
F15434765: D8077.id.diff
Tue, Mar 25, 5:14 AM
F15424242: D8077.id18282.diff
Sat, Mar 22, 9:05 PM
F15413187: D8077.diff
Wed, Mar 19, 5:24 PM
F15410903: D8077.diff
Wed, Mar 19, 8:41 AM
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

Lint
Lint Skipped
Unit
Tests Skipped