Mercurial > evolve
changeset 6569:9a55b007faf6
compat: make sure to actually pass tip to commitstatus()
Follow-up for d13cfd9eb6c0.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Thu, 12 Oct 2023 14:04:37 -0300 |
parents | 851f1af306a5 |
children | 5b23394b03aa |
files | hgext3rd/topic/compat.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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)