comparison mercurial/context.py @ 35294:d4f65050f3c5

overlayworkingctx: fix a bad reference to `self._path` Differential Revision: https://phab.mercurial-scm.org/D1236
author Phil Cohen <phillco@fb.com>
date Thu, 07 Dec 2017 13:20:47 -0800
parents 8b3a636bb341
children bea46aed1e1b
comparison
equal deleted inserted replaced
35293:8b3a636bb341 35294:d4f65050f3c5
2008 else: 2008 else:
2009 # Must fallback here, too, because we only set flags. 2009 # Must fallback here, too, because we only set flags.
2010 return self._wrappedctx[path].data() 2010 return self._wrappedctx[path].data()
2011 else: 2011 else:
2012 raise error.ProgrammingError("No such file or directory: %s" % 2012 raise error.ProgrammingError("No such file or directory: %s" %
2013 self._path) 2013 path)
2014 else: 2014 else:
2015 return self._wrappedctx[path].data() 2015 return self._wrappedctx[path].data()
2016 2016
2017 def isinmemory(self): 2017 def isinmemory(self):
2018 return True 2018 return True