Comments
Patch
@@ -931,10 +931,14 @@
if f in man:
del man[f]
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.
date - any valid date string or (unixtime, offset), or None.
user - username string, or None.
@@ -951,14 +955,10 @@
for f in d:
if d[f] != 'r':
yield f
@propertycache
- def _status(self):
- return self._repo.status()[:4]
-
- @propertycache
def _user(self):
return self._repo.ui.username()
@propertycache
def _date(self):