Page MenuHomePhabricator

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

Authored by epriestley on Jan 27 2014, 5:12 PM.
Tags
None
Referenced Files
F18854784: D8077.id.diff
Sat, Nov 1, 12:38 AM
F18846646: D8077.id.diff
Wed, Oct 29, 8:18 PM
F18841482: D8077.diff
Tue, Oct 28, 9:29 AM
F18734575: D8077.diff
Sep 30 2025, 10:57 PM
F18641265: D8077.id.diff
Sep 18 2025, 8:16 PM
F18600784: D8077.diff
Sep 13 2025, 10:35 AM
F18586159: D8077.diff
Sep 11 2025, 5:41 PM
F18227390: D8077.id.diff
Aug 20 2025, 6:05 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