Mercurial > hg
changeset 19674:ec5b2e2b947f
commitablectx: move _user from workingctx
author | Sean Farley <sean.michael.farley@gmail.com> |
---|---|
date | Thu, 15 Aug 2013 10:51:53 -0500 |
parents | 53a3a8d38301 |
children | 84249d49f37c |
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:55:56 2013 -0500 +++ b/mercurial/context.py Thu Aug 15 10:51:53 2013 -0500 @@ -937,6 +937,10 @@ def _status(self): return self._repo.status()[:4] + @propertycache + def _user(self): + return self._repo.ui.username() + def status(self, ignored=False, clean=False, unknown=False): """Explicit status query Unless this method is used to query the working copy status, the @@ -973,10 +977,6 @@ yield f @propertycache - def _user(self): - return self._repo.ui.username() - - @propertycache def _date(self): return util.makedate()