@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator

Fix limit calculation for largeish Mercurial repsositories master

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


+10 -1
1 changed file