# HG changeset patch # User Martin von Zweigbergk # Date 1575394990 28800 # Node ID 60be1bd580c7eb8e2d4b8cea49453e5dc8c53d97 # Parent f3faafa1e0642cfaae687a43083ef16bb3cca550 compat: accept "success" argument to lock._afterlock callback The callback gets a new "success" argument since Mercurial commit 888bd39ed555 (lock: pass "success" boolean to _afterlock callbacks, 2019-11-19). diff -r f3faafa1e064 -r 60be1bd580c7 hgext3rd/evolve/__init__.py --- a/hgext3rd/evolve/__init__.py Fri Nov 22 17:13:46 2019 +0700 +++ b/hgext3rd/evolve/__init__.py Tue Dec 03 09:43:10 2019 -0800 @@ -763,7 +763,7 @@ node = ctx.node() isobs = ctx.obsolete() - def warnobsolete(): + def warnobsolete(*args): _warnobsoletewc(ui, repo, node, isobs) wlock = None try: