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

login
register
mail settings
Submitter phabricator
Date Dec. 7, 2017, 10:16 p.m.
Message ID <63fd7ec4687605cd46b906abb995ab26@localhost.localdomain>
Download mbox | patch
Permalink /patch/26057/
State Not Applicable
Headers show

Comments

phabricator - Dec. 7, 2017, 10:16 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGd4f65050f3c5: overlayworkingctx: fix a bad reference to `self._path` (authored by phillco, committed by ).

REPOSITORY
  rHG Mercurial

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

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

AFFECTED FILES
  mercurial/context.py

CHANGE DETAILS




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

Patch

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