Show More
@@ -941,6 +941,10 b' class commitablectx(basectx):' | |||||
941 | def _user(self): |
|
941 | def _user(self): | |
942 | return self._repo.ui.username() |
|
942 | return self._repo.ui.username() | |
943 |
|
943 | |||
|
944 | @propertycache | |||
|
945 | def _date(self): | |||
|
946 | return util.makedate() | |||
|
947 | ||||
944 | def status(self, ignored=False, clean=False, unknown=False): |
|
948 | def status(self, ignored=False, clean=False, unknown=False): | |
945 | """Explicit status query |
|
949 | """Explicit status query | |
946 | Unless this method is used to query the working copy status, the |
|
950 | Unless this method is used to query the working copy status, the | |
@@ -980,10 +984,6 b' class workingctx(commitablectx):' | |||||
980 | yield f |
|
984 | yield f | |
981 |
|
985 | |||
982 | @propertycache |
|
986 | @propertycache | |
983 | def _date(self): |
|
|||
984 | return util.makedate() |
|
|||
985 |
|
||||
986 | @propertycache |
|
|||
987 | def _parents(self): |
|
987 | def _parents(self): | |
988 | p = self._repo.dirstate.parents() |
|
988 | p = self._repo.dirstate.parents() | |
989 | if p[1] == nullid: |
|
989 | if p[1] == nullid: |
General Comments 0
You need to be logged in to leave comments.
Login now