Page MenuHomePhabricator

Fix limit calculation for largeish Mercurial repsositories
ClosedPublic

Authored by epriestley on Feb 16 2016, 10:02 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Mar 23, 8:09 AM
Unknown Object (File)
Thu, Mar 7, 6:31 PM
Unknown Object (File)
Tue, Mar 5, 1:50 PM
Unknown Object (File)
Tue, Mar 5, 1:50 PM
Unknown Object (File)
Tue, Mar 5, 9:19 AM
Unknown Object (File)
Thu, Feb 29, 6:28 AM
Unknown Object (File)
Feb 9 2024, 10:39 PM
Unknown Object (File)
Jan 26 2024, 11:27 PM
Subscribers

Details

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.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Fix limit calculation for largeish Mercurial repsositories.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
epriestley added a subscriber: richardvanvelzen.
chad edited edge metadata.
This revision is now accepted and ready to land.Feb 16 2016, 10:05 PM
This revision was automatically updated to reflect the committed changes.