# HG changeset patch # User Zeger Van de Vannet # Date 1707209983 0 # Node ID 4c6d35f924697c41e6a9fb5ac7019d6a0527559c # Parent 75c048fdcd094c65888afbc085c555298b5c7956 topic: handle commitstatus() with opts=None for hg <= 6.5 too See also d13cfd9eb6c0. diff -r 75c048fdcd09 -r 4c6d35f92469 hgext3rd/topic/compat.py --- a/hgext3rd/topic/compat.py Wed Feb 07 14:03:04 2024 -0300 +++ b/hgext3rd/topic/compat.py Tue Feb 06 08:59:43 2024 +0000 @@ -59,6 +59,8 @@ def _orig(repo, node, branch, bheads=None, tip=None, **opts): opts = pycompat.byteskwargs(opts) return orig(repo, node, branch, bheads=bheads, tip=tip, opts=opts) + if opts is None: + opts = {} opts = pycompat.strkwargs(opts) return overridefn(_orig, repo, node, branch, bheads=bheads, tip=tip, **opts) extensions.wrapfunction(cmdutil, 'commitstatus', _override)