This is an archive of the discontinued Mercurial Phabricator instance.

perf: remove fallbacks to ancient versions of dirstate.walk()
ClosedPublic

Authored by martinvonz on Sep 29 2017, 5:53 PM.

Details

Summary

If the call to dirstate.walk() failed, we would try to fall back to
older versions. These were removed in d3d1d39da2fa (walk: remove
cmdutil.walk, 2008-05-12) and f8299c84b5b6 (dirstate: fold statwalk
and walk, 2008-06-26). We don't care about testing performance of
versions that old versions at this point, so let's clean up.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

martinvonz created this revision.Sep 29 2017, 5:53 PM
quark accepted this revision.Sep 29 2017, 10:03 PM
quark added a subscriber: quark.

I have confirmed that we only need to support changes introduced after Nov 2008.

This revision was automatically updated to reflect the committed changes.