# HG changeset patch # User Martin von Zweigbergk # Date 2018-04-16 16:39:40 # Node ID 6e137da59ad9a4f9a24ac73053a9add2d15cef5e # Parent 564a3eec6e635e1a51bc8353ba15216cf6dcf121 context: clarify deprecation warning message I had one developer report that they couldn't find the message. This patch should make it clear where to find it. Differential Revision: https://phab.mercurial-scm.org/D3389 diff --git a/mercurial/context.py b/mercurial/context.py --- a/mercurial/context.py +++ b/mercurial/context.py @@ -398,8 +398,9 @@ def changectxdeprecwarn(repo): # user and the revset may be too costly), use scmutil.revsymbol(repo, x) # * If "x" can be a mix of the above, you'll have to figure it out # yourself - repo.ui.deprecwarn("changectx.__init__ is getting more limited, see source " - "for details", "4.6", stacklevel=4) + repo.ui.deprecwarn("changectx.__init__ is getting more limited, see " + "context.changectxdeprecwarn() for details", "4.6", + stacklevel=4) class changectx(basectx): """A changecontext object makes access to data related to a particular