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

login
register
mail settings
Submitter phabricator
Date Dec. 7, 2017, 9:23 p.m.
Message ID <a6f79e3f14c4c3218870ba4245c13d89@localhost.localdomain>
Download mbox | patch
Permalink /patch/26016/
State Not Applicable
Headers show

Comments

phabricator - Dec. 7, 2017, 9:23 p.m.
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




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

Patch

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()