--- a/mercurial/exthelper.py Tue Nov 27 22:10:07 2018 -0500
+++ b/mercurial/exthelper.py Sun Dec 23 01:05:20 2018 -0500
@@ -257,7 +257,7 @@
example::
- @eh.function(context.changectx, 'babar')
+ @eh.addattr(context.changectx, 'babar')
def babar(ctx):
return 'babar' in ctx.description
"""