comparison mercurial/configitems.py @ 38038:8c828beb7543 stable

lock: add internal config to not replace signal handlers while locking signal.signal() is blocked in some WSGI environments, and a horrible warning is sent to the server log. So we need a way to disable it, and I think abusing ui.config is the simplest workaround.
author Yuya Nishihara <yuya@tcha.org>
date Fri, 18 May 2018 21:24:06 +0900
parents 6a7ff5816c5f
children ead71b15efd5
comparison
equal deleted inserted replaced
38037:d46a38c07b1a 38038:8c828beb7543
1125 default=True, 1125 default=True,
1126 ) 1126 )
1127 coreconfigitem('ui', 'rollback', 1127 coreconfigitem('ui', 'rollback',
1128 default=True, 1128 default=True,
1129 ) 1129 )
1130 coreconfigitem('ui', 'signal-safe-lock',
1131 default=True,
1132 )
1130 coreconfigitem('ui', 'slash', 1133 coreconfigitem('ui', 'slash',
1131 default=False, 1134 default=False,
1132 ) 1135 )
1133 coreconfigitem('ui', 'ssh', 1136 coreconfigitem('ui', 'ssh',
1134 default='ssh', 1137 default='ssh',