Page MenuHomePhabricator

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

Authored by epriestley on Jan 27 2014, 5:12 PM.
Tags
None
Referenced Files
F14097029: D8077.id.diff
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
Unknown Object (File)
Wed, Nov 13, 2:47 AM
Unknown Object (File)
Mon, Nov 11, 10:34 PM
Unknown Object (File)
Oct 24 2024, 10:27 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

Lint
Lint Skipped
Unit
Tests Skipped