equal
deleted
inserted
replaced
446 if workingctx: |
446 if workingctx: |
447 self._changectx = workingctx |
447 self._changectx = workingctx |
448 |
448 |
449 def __getattr__(self, name): |
449 def __getattr__(self, name): |
450 if name == '_changectx': |
450 if name == '_changectx': |
451 self._changectx = workingctx(repo) |
451 self._changectx = workingctx(self._repo) |
452 return self._changectx |
452 return self._changectx |
453 elif name == '_repopath': |
453 elif name == '_repopath': |
454 self._repopath = (self._repo.dirstate.copied(self._path) |
454 self._repopath = (self._repo.dirstate.copied(self._path) |
455 or self._path) |
455 or self._path) |
456 return self._repopath |
456 return self._repopath |