From patchwork Sun Dec 23 06:15:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [6,of,6,V2] exthelper: correct a documentation typo From: Matt Harbison X-Patchwork-Id: 37331 Message-Id: <75e78ec0d24d0f356e33.1545545751@Envy> To: mercurial-devel@mercurial-scm.org Date: Sun, 23 Dec 2018 01:15:51 -0500 # HG changeset patch # User Matt Harbison # 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 """