overlayworkingctx: fix a bad reference to `self._path`
authorPhil Cohen <phillco@fb.com>
Thu, 07 Dec 2017 13:20:47 -0800
changeset 35294 d4f65050f3c5
parent 35293 8b3a636bb341
child 35295 bea46aed1e1b
overlayworkingctx: fix a bad reference to `self._path` Differential Revision: https://phab.mercurial-scm.org/D1236
mercurial/context.py
--- a/mercurial/context.py	Thu Dec 07 13:20:47 2017 -0800
+++ b/mercurial/context.py	Thu Dec 07 13:20:47 2017 -0800
@@ -2010,7 +2010,7 @@
                     return self._wrappedctx[path].data()
             else:
                 raise error.ProgrammingError("No such file or directory: %s" %
-                                             self._path)
+                                             path)
         else:
             return self._wrappedctx[path].data()