HomePhabricator

manifest: fix _very_ subtle bug with exact matchers passed to walk()

Authored by durin42.

Description

manifest: fix _very_ subtle bug with exact matchers passed to walk()

Prior to this fix, manifestdict.walk() with an exact matcher would blindly
list the files in the matcher, even if they weren't in the manifest. This was
exposed by my next patch where I rewrite filesnotin() to use walk() instead of
matches().

Differential Revision: https://phab.mercurial-scm.org/D8081

Details

Committed
durin42Feb 5 2020, 4:16 PM
Differential Revision
D8081: manifest: fix _very_ subtle bug with exact matchers passed to walk()
Parents
rHGaa0fc32ece9e: rust-utils: add `Escaped` trait
Branches
Unknown
Tags
Unknown