Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/subrepo.py @ 26781:1aee2ab0f902
spelling: trivial spell checking
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Sat, 17 Oct 2015 00:58:46 +0200 |
parents | 56b2bcea2529 |
children | 91786f20db83 |
comparison
equal
deleted
inserted
replaced
26780:bbf544b5f2e9 | 26781:1aee2ab0f902 |
---|---|
416 """Initialize abstractsubrepo part | 416 """Initialize abstractsubrepo part |
417 | 417 |
418 ``ctx`` is the context referring this subrepository in the | 418 ``ctx`` is the context referring this subrepository in the |
419 parent repository. | 419 parent repository. |
420 | 420 |
421 ``path`` is the path to this subrepositiry as seen from | 421 ``path`` is the path to this subrepository as seen from |
422 innermost repository. | 422 innermost repository. |
423 """ | 423 """ |
424 self.ui = ctx.repo().ui | 424 self.ui = ctx.repo().ui |
425 self._ctx = ctx | 425 self._ctx = ctx |
426 self._path = path | 426 self._path = path |
1054 (self._relpath, node.short(self._ctx.node()))) | 1054 (self._relpath, node.short(self._ctx.node()))) |
1055 return 0 | 1055 return 0 |
1056 | 1056 |
1057 @propertycache | 1057 @propertycache |
1058 def wvfs(self): | 1058 def wvfs(self): |
1059 """return own wvfs for efficiency and consitency | 1059 """return own wvfs for efficiency and consistency |
1060 """ | 1060 """ |
1061 return self._repo.wvfs | 1061 return self._repo.wvfs |
1062 | 1062 |
1063 @propertycache | 1063 @propertycache |
1064 def _relpath(self): | 1064 def _relpath(self): |