This is an archive of the discontinued Mercurial Phabricator instance.

locate: explicitly use dirstate.matches() for working copy
ClosedPublic

Authored by martinvonz on Jun 11 2018, 1:38 PM.

Details

Summary

hg locate is odd in that it includes files that have been removed
from the working copy. It relies on workingctx.matches() for that. I
want to make workingctx.matches() not include removed files, so this
patch makes hg locate handle the working copy differently instead.

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.