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)
Jun 1 2025, 6:45 PM
Unknown Object (File)
May 31 2025, 6:48 PM
Unknown Object (File)
May 30 2025, 7:41 PM
Unknown Object (File)
May 29 2025, 9:48 AM
Unknown Object (File)
May 29 2025, 8:09 AM
Unknown Object (File)
May 29 2025, 3:25 AM
Unknown Object (File)
May 28 2025, 3:57 AM
Unknown Object (File)
May 25 2025, 9:42 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