Show More
@@ -933,6 +933,10 b' class commitablectx(basectx):' | |||||
933 |
|
933 | |||
934 | return man |
|
934 | return man | |
935 |
|
935 | |||
|
936 | @propertycache | |||
|
937 | def _status(self): | |||
|
938 | return self._repo.status()[:4] | |||
|
939 | ||||
936 | class workingctx(commitablectx): |
|
940 | class workingctx(commitablectx): | |
937 | """A workingctx object makes access to data related to |
|
941 | """A workingctx object makes access to data related to | |
938 | the current working directory convenient. |
|
942 | the current working directory convenient. | |
@@ -953,10 +957,6 b' class workingctx(commitablectx):' | |||||
953 | yield f |
|
957 | yield f | |
954 |
|
958 | |||
955 | @propertycache |
|
959 | @propertycache | |
956 | def _status(self): |
|
|||
957 | return self._repo.status()[:4] |
|
|||
958 |
|
||||
959 | @propertycache |
|
|||
960 | def _user(self): |
|
960 | def _user(self): | |
961 | return self._repo.ui.username() |
|
961 | return self._repo.ui.username() | |
962 |
|
962 |
General Comments 0
You need to be logged in to leave comments.
Login now