HomePhabricator

Speed up diffusion_browsequery for mercurial repositories

Description

Speed up diffusion_browsequery for mercurial repositories

Summary:
Ref T4387. By using hg locate to attempt to only list files in the given path
browsing diffusion is a bit faster. In a repo of about 600M it shaves a rough 100ms
off viewing the root of the project.

Test Plan: Looked around in diffusion and saw it showed everything including .files, which was nice

Reviewers: epriestley, Blessed Reviewers

Reviewed By: epriestley

CC: Korvin, epriestley, aran

Maniphest Tasks: T4387

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

Details

Provenance
Richard van Velzen <rvanvelzen@expert-shops.com>Authored on
epriestleyCommitted on Feb 7 2014, 5:39 PM
epriestleyPushed on Feb 7 2014, 5:40 PM
Reviewer
epriestley
Differential Revision
D8163: Speed up diffusion_browsequery for mercurial repositories
Parents
rPdf98ea3ba907: Allow Maniphest to be searched for mailing list subscribers
Branches
Unknown
Tags
Unknown

Event Timeline