diff mercurial/configitems.py @ 49521:a5f551f8b723 stable

configitems: change the `verify.skipflags` default value to avoid a py3 crash The revlog and LFS modules use various `&` and `&=` operations with this value, which no longer treats `None` as 0. Since nothing cares if it was actually set in the config or not, just default to 0 for simplicity.
author Matt Harbison <matt_harbison@yahoo.com>
date Tue, 18 Oct 2022 19:49:31 -0400
parents 4f04bb0d8deb
children a3356ab610fc
line wrap: on
line diff
--- a/mercurial/configitems.py	Mon Oct 10 11:28:19 2022 -0400
+++ b/mercurial/configitems.py	Tue Oct 18 19:49:31 2022 -0400
@@ -2543,7 +2543,7 @@
 coreconfigitem(
     b'verify',
     b'skipflags',
-    default=None,
+    default=0,
 )
 coreconfigitem(
     b'web',