( )⚙ D4822 tests: add test showing that paths outside narrowspec are not added

This is an archive of the discontinued Mercurial Phabricator instance.

tests: add test showing that paths outside narrowspec are not added
ClosedPublic

Authored by martinvonz on Oct 1 2018, 1:01 PM.

Details

Summary

We had a test that shows that trying to explicitly add a file outside
the narrowspec results in an error, but we didn't have a test that
shows that paths from subdirectories outside the narrowspec are not
added (on e.g. hg add .) but silently ignored.

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.Oct 1 2018, 1:01 PM
This revision was automatically updated to reflect the committed changes.
martinvonz updated this revision to Diff 11533.Oct 1 2018, 1:15 PM