Mercurial > hg-stable
changeset 19672:375986c02539
commitablectx: move _status from workingctx
author | Sean Farley <sean.michael.farley@gmail.com> |
---|---|
date | Wed, 14 Aug 2013 15:41:22 -0500 |
parents | 367e95bba6e8 |
children | 53a3a8d38301 |
files | mercurial/context.py |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/context.py Wed Aug 14 15:34:18 2013 -0500 +++ b/mercurial/context.py Wed Aug 14 15:41:22 2013 -0500 @@ -933,6 +933,10 @@ return man + @propertycache + def _status(self): + return self._repo.status()[:4] + class workingctx(commitablectx): """A workingctx object makes access to data related to the current working directory convenient. @@ -953,10 +957,6 @@ yield f @propertycache - def _status(self): - return self._repo.status()[:4] - - @propertycache def _user(self): return self._repo.ui.username()