D1236: overlayworkingctx: fix a bad reference to `self._path`

phillco (Phil Cohen) phabricator at mercurial-scm.org
Thu Dec 7 16:45:28 EST 2017


phillco updated this revision to Diff 4201.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1236?vs=4182&id=4201

REVISION DETAIL
  https://phab.mercurial-scm.org/D1236

AFFECTED FILES
  mercurial/context.py

CHANGE DETAILS

diff --git a/mercurial/context.py b/mercurial/context.py
--- a/mercurial/context.py
+++ b/mercurial/context.py
@@ -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()
 



To: phillco, #hg-reviewers, durin42
Cc: mercurial-devel


More information about the Mercurial-devel mailing list