# HG changeset patch # User Anton Shestakov # Date 1697130277 10800 # Node ID 9a55b007faf6db1d70915aac76d79576f13b8764 # Parent 851f1af306a52b1ebea96159c82d9005171754e7 compat: make sure to actually pass tip to commitstatus() Follow-up for d13cfd9eb6c0. diff -r 851f1af306a5 -r 9a55b007faf6 hgext3rd/topic/compat.py --- a/hgext3rd/topic/compat.py Wed Oct 11 15:18:41 2023 -0300 +++ b/hgext3rd/topic/compat.py Thu Oct 12 14:04:37 2023 -0300 @@ -57,9 +57,9 @@ # hg <= 6.5 (489268c8ee7e) def _override(orig, repo, node, branch, bheads=None, tip=None, opts=None): def _orig(repo, node, branch, bheads=None, tip=None, **opts): - return orig(repo, node, branch, bheads=bheads, tip=None, opts=opts) + return orig(repo, node, branch, bheads=bheads, tip=tip, opts=opts) opts = pycompat.strkwargs(opts) - return overridefn(_orig, repo, node, branch, bheads=bheads, tip=None, **opts) + return overridefn(_orig, repo, node, branch, bheads=bheads, tip=tip, **opts) extensions.wrapfunction(cmdutil, 'commitstatus', _override) else: # hg <= 5.6 (976b26bdd0d8)