[PATCH V2] verify: add a config option to skip certain flag processors

Yuya Nishihara yuya at tcha.org
Tue May 16 09:17:57 EDT 2017


On Sun, 14 May 2017 09:41:54 -0700, Jun Wu wrote:
> # HG changeset patch
> # User Jun Wu <quark at fb.com>
> # Date 1494779886 25200
> #      Sun May 14 09:38:06 2017 -0700
> # Node ID c3d89aaf46bf50343dd06ff4e59dbadb0563b464
> # Parent  78496ac300255e9996b3e282086661afc08af37c
> # Available At https://bitbucket.org/quark-zju/hg-draft
> #              hg pull https://bitbucket.org/quark-zju/hg-draft -r c3d89aaf46bf
> verify: add a config option to skip certain flag processors
> 
> Previously, "hg verify" verifies everything, which could be undesirable when
> there are expensive flag processor contents.
> 
> This patch adds a "verify.skipflags" developer config. A flag processor will
> be skipped if (flag & verify.skipflags) == 0.

Nit: maybe this should be "if (flag & verify.skipflags) != 0" ?


More information about the Mercurial-devel mailing list