[PATCH 6 of 6 V2] exthelper: correct a documentation typo

Matt Harbison mharbison72 at gmail.com
Sun Dec 23 01:15:51 EST 2018


# HG changeset patch
# User Matt Harbison <matt_harbison at yahoo.com>
# Date 1545545120 18000
#      Sun Dec 23 01:05:20 2018 -0500
# Node ID 75e78ec0d24d0f356e33dd047181b61ec35ffb4b
# Parent  f1c5ed4697f3cd8ecd3103faec187ac4cf383ebe
exthelper: correct a documentation typo

diff --git a/mercurial/exthelper.py b/mercurial/exthelper.py
--- a/mercurial/exthelper.py
+++ b/mercurial/exthelper.py
@@ -258,7 +258,7 @@ class exthelper(object):
 
         example::
 
-            @eh.function(context.changectx, 'babar')
+            @eh.addattr(context.changectx, 'babar')
             def babar(ctx):
                 return 'babar' in ctx.description
         """


More information about the Mercurial-devel mailing list