Details
Details
- Reviewers
durin42 - Group Reviewers
hg-reviewers - Commits
- rHGd4f65050f3c5: overlayworkingctx: fix a bad reference to `self._path`
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Unit Tests Skipped
( )
durin42 |
hg-reviewers |
Lint Skipped |
Unit Tests Skipped |
Path | Packages | |||
---|---|---|---|---|
M | mercurial/context.py (2 lines) |
Status | Author | Revision | |
---|---|---|---|
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Abandoned | phillco |
if self._cache[path]['exists']: | if self._cache[path]['exists']: | ||||
if self._cache[path]['data']: | if self._cache[path]['data']: | ||||
return self._cache[path]['data'] | return self._cache[path]['data'] | ||||
else: | else: | ||||
# Must fallback here, too, because we only set flags. | # Must fallback here, too, because we only set flags. | ||||
return self._wrappedctx[path].data() | return self._wrappedctx[path].data() | ||||
else: | else: | ||||
raise error.ProgrammingError("No such file or directory: %s" % | raise error.ProgrammingError("No such file or directory: %s" % | ||||
self._path) | path) | ||||
else: | else: | ||||
return self._wrappedctx[path].data() | return self._wrappedctx[path].data() | ||||
def isinmemory(self): | def isinmemory(self): | ||||
return True | return True | ||||
def filedate(self, path): | def filedate(self, path): | ||||
if self.isdirty(path): | if self.isdirty(path): |