Home GnuPG

Fix limit calculation for largeish Mercurial repsositories
58c2141ffdbfUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

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

Provenance
epriestley <git@epriestley.com>Authored on Feb 16 2016, 11:00 PM
Parents
rPHABf35509e30ee7: Update to use PHUIRemarkupView everywhere possible
Branches
Unknown
Tags
Unknown

Event Timeline

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