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

phillco (Phil Cohen) phabricator at mercurial-scm.org
Thu Dec 7 21:23:14 UTC 2017


phillco updated this revision to Diff 4182.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

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

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
@@ -2046,7 +2046,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
Cc: mercurial-devel


More information about the Mercurial-devel mailing list