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

sparse: require [section] in sparse config files (BC)

Previously, [include] was implicit and pattern lines before a
[section] were added to includes.

Because the format may change in the future and explicit behavior,
well, more explicit, this commit changes the config parser to
reject pattern lines that don't occur in a [section].

Differential Revision: https://phab.mercurial-scm.org/D96
parent 32f348d7
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment