mercurial/context.py
changeset 37676 1764527af92e
parent 37532 8475c9bf096d
child 37678 5f8f013e7d52
--- a/mercurial/context.py	Fri Apr 13 14:18:26 2018 -0700
+++ b/mercurial/context.py	Fri Apr 13 09:19:38 2018 -0700
@@ -399,7 +399,7 @@
     #  * 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")
+                       "for details", "4.6", stacklevel=4)
 
 class changectx(basectx):
     """A changecontext object makes access to data related to a particular