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