Mercurial > hg
changeset 24323:4c7c6beade1a
manifest: have context's dirs() call its manifest's dirs()
This lets the context's dirs() method be agnostic towards any alternate
manifest implementations.
author | Drew Gottlieb <drgott@google.com> |
---|---|
date | Fri, 13 Mar 2015 15:23:02 -0700 |
parents | f263814c72ac |
children | 149cc171e4a0 |
files | mercurial/context.py |
diffstat | 1 files changed, 2 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/context.py Fri Mar 13 15:19:54 2015 -0700 +++ b/mercurial/context.py Fri Mar 13 15:23:02 2015 -0700 @@ -266,12 +266,9 @@ diffopts = patch.diffopts(self._repo.ui, opts) return patch.diff(self._repo, ctx2, self, match=match, opts=diffopts) - @propertycache - def _dirs(self): - return scmutil.dirs(self._manifest) + def dirs(self): + return self._manifest.dirs() - def dirs(self): - return self._dirs def dirty(self, missing=False, merge=True, branch=True): return False