Skip to content
Snippets Groups Projects
Commit 8d8e61df8259 authored by Gregory Szorc's avatar Gregory Szorc
Browse files

narrowspec: validate patterns when loading and saving spec file

Patterns should be normalized and validated before being passed into
narrowspec.save(). Let's assert that by checking immediately before
writing the narrow spec file. And let's assert that patterns loaded
from the spec file also conform.

Differential Revision: https://phab.mercurial-scm.org/D4524
parent 238a1480d7ad
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment