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, Dec 14, 1:45 PM
Unknown Object (File)
Thu, Dec 12, 12:43 AM
Unknown Object (File)
Thu, Dec 5, 3:10 AM
Unknown Object (File)
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)
Nov 26 2024, 6:17 AM
Unknown Object (File)
Nov 25 2024, 11:26 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