comparison 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
comparison
equal deleted inserted replaced
49518:805419729e11 49521:a5f551f8b723
2541 default=False, 2541 default=False,
2542 ) 2542 )
2543 coreconfigitem( 2543 coreconfigitem(
2544 b'verify', 2544 b'verify',
2545 b'skipflags', 2545 b'skipflags',
2546 default=None, 2546 default=0,
2547 ) 2547 )
2548 coreconfigitem( 2548 coreconfigitem(
2549 b'web', 2549 b'web',
2550 b'allowbz2', 2550 b'allowbz2',
2551 default=False, 2551 default=False,