Homec4science

Fix limit calculation for largeish Mercurial repsositories

Authored by epriestley <git@epriestley.com> on Feb 16 2016, 23:00.

Description

Fix limit calculation for largeish Mercurial repsositories

Summary:
Fixes T10304. In Mercurial, we must enumerate the whole file tree. Currently, we incorrectly count files within directories (which won't be shown) toward the "100 file" limit at top level, so directories with more than 100 subpaths are truncated improperly.

This is approxiately the same as @richardvanvelzen's fix.

Test Plan: Viewed a large Mercurial repository, saw a complete directory listing.

Reviewers: chad

Reviewed By: chad

Subscribers: richardvanvelzen

Maniphest Tasks: T10304

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

Details

Committed
epriestley <git@epriestley.com>Feb 16 2016, 23:14
Pushed
aubortJan 31 2017, 17:16
Parents
rPHf35509e30ee7: Update to use PHUIRemarkupView everywhere possible
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH58c2141ffdbf: Fix limit calculation for largeish Mercurial repsositories (authored by epriestley <git@epriestley.com>).Feb 16 2016, 23:14