This is an archive of the discontinued Mercurial Phabricator instance.

overlayworkingctx: fix file/dir audit to be repo-relative
ClosedPublic

Authored by martinvonz on Apr 10 2019, 8:50 PM.

Details

Summary

Before this patch, test-rebase-inmemory.t would stop erroring out
about the conflict if you added a "cd a" before line 252. That was
because a glob matcher (which are relative) was unintentionally
used. That happened because the matcher was given "include" patterns
(not regular patterns), and "include" patterns are always glob by
default (i.e. unless you write them including the kind prefix). IOW,
the "default='path'" argument passed to ctx.match() was ignored.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped