equal
deleted
inserted
replaced
1239 @propertycache |
1239 @propertycache |
1240 def _parents(self): |
1240 def _parents(self): |
1241 p = self._repo.dirstate.parents() |
1241 p = self._repo.dirstate.parents() |
1242 if p[1] == nullid: |
1242 if p[1] == nullid: |
1243 p = p[:-1] |
1243 p = p[:-1] |
1244 return [self._repo[x] for x in p] |
1244 # use unfiltered repo to delay/avoid loading obsmarkers |
|
1245 unfi = self._repo.unfiltered() |
|
1246 return [changectx(self._repo, unfi.changelog.rev(n), n) for n in p] |
1245 |
1247 |
1246 def _fileinfo(self, path): |
1248 def _fileinfo(self, path): |
1247 # populate __dict__['_manifest'] as workingctx has no _manifestdelta |
1249 # populate __dict__['_manifest'] as workingctx has no _manifestdelta |
1248 self._manifest |
1250 self._manifest |
1249 return super(workingctx, self)._fileinfo(path) |
1251 return super(workingctx, self)._fileinfo(path) |