Mercurial > hg > mercurial-crew-with-dirclash
comparison mercurial/context.py @ 4417:0912d8df5e19
Merge with stable
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 08 May 2007 11:42:48 -0500 |
parents | dbc3846c09a1 b6146466b92a |
children | 63b9d2deed48 |
comparison
equal
deleted
inserted
replaced
4413:b008deae9910 | 4417:0912d8df5e19 |
---|---|
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 |