This is an archive of the discontinued Mercurial Phabricator instance.

rust-status: don't dispatch unknown file when traversing if not listing unknowns
ClosedPublic

Authored by Alphare on May 12 2020, 7:50 AM.

Details

Summary

This usually isn't a (functional) problem since we ignore the unknown files
anyway, but when specifically using hg purge, unknown files were iterated over
regardless of the option being true.
This is both more correct and more efficient.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

Alphare created this revision.May 12 2020, 7:50 AM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.