Homec4science

Support branch offset/limit in Mercurial

Authored by epriestley <git@epriestley.com> on May 10 2012, 23:18.

Description

Support branch offset/limit in Mercurial

Summary:

  • Support offset/limit as added by D2442, for Mercurial.
  • We just list everything and slice, no clear way to do better and this isn't a major perf issue.
  • No clear way to easily get by-update sorting, we can implement this by looking up revs if someone asks.
  • Bury some of the Git implementation details inside the Git query.

Test Plan:

  • Looked at a Git repo, clicked "View All Branches".
  • Looked at a Hg repo, clicked "View All Branches".
  • Limited page size to 1, made sure it limited properly.

Reviewers: aurelijus, btrahan, vrana

Reviewed By: aurelijus

CC: aran

Differential Revision: https://secure.phabricator.com/D2453

Details

Committed
epriestley <git@epriestley.com>May 10 2012, 23:18
Pushed
aubortJan 31 2017, 17:16
Parents
rPH70e5ef92cf01: Use transactions in user status Conduit methods
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHd24c81c5e27b: Support branch offset/limit in Mercurial (authored by epriestley <git@epriestley.com>).May 10 2012, 23:18