Page MenuHomePhabricator

Fix limit calculation for largeish Mercurial repsositories
ClosedPublic

Authored by epriestley on Feb 16 2016, 10:02 PM.
Tags
None
Referenced Files
F13199033: D15282.id36871.diff
Mon, May 13, 11:05 AM
F13192492: D15282.id36873.diff
Sun, May 12, 8:10 AM
F13183942: D15282.id.diff
Fri, May 10, 1:26 PM
Unknown Object (File)
Sat, May 4, 7:00 PM
Unknown Object (File)
Wed, May 1, 12:29 AM
Unknown Object (File)
Sun, Apr 28, 7:34 AM
Unknown Object (File)
Sat, Apr 13, 6:08 PM
Unknown Object (File)
Apr 12 2024, 2:38 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.