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).
--- 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: