This is an archive of the discontinued Mercurial Phabricator instance.

dirstate: include explicit matches in match.traversedir calls
ClosedPublic

Authored by martinvonz on Nov 15 2019, 7:34 PM.

Details

Summary

The caller should not have to register to get both explicit and
non-explicit matches.

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.Nov 15 2019, 7:34 PM
Alphare added inline comments.
mercurial/dirstate.py
942

Where is matchtdir defined? I don't see it on any of the patches in the stack.

martinvonz marked an inline comment as done.Nov 18 2019, 8:58 AM
martinvonz added inline comments.
mercurial/dirstate.py
942

It's on line 916 in this file.

Alphare accepted this revision.Nov 18 2019, 8:59 AM
Alphare added inline comments.
mercurial/dirstate.py
942

Indeed. Don't know what happened. Thanks

pulkit accepted this revision.Nov 19 2019, 7:42 AM
This revision is now accepted and ready to land.Nov 19 2019, 7:42 AM
martinvonz marked an inline comment as done.Nov 19 2019, 8:13 AM
This revision was automatically updated to reflect the committed changes.