Mercurial > hg
view tests/failfilemerge.py @ 52291:b65085c6d6ff
help: modernize the help text for `hostsecurity.minimumprotocol`
Two issues here:
1) We're well past Pythons that only support TLSv1.0 (py27 supports v1.2)
2) It never occurred to me that this is a client-only setting
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Mon, 11 Nov 2024 13:03:13 -0500 |
parents | 6000f5b25c9b |
children |
line wrap: on
line source
# extension to emulate interrupting filemerge._filemerge from mercurial import ( error, extensions, filemerge, ) def failfilemerge(*args, **kwargs): raise error.Abort(b"^C") def extsetup(ui): extensions.wrapfunction(filemerge, 'filemerge', failfilemerge)