##// END OF EJS Templates
commitablectx: move _user from workingctx
Sean Farley -
r19674:ec5b2e2b default
parent child Browse files
Show More
@@ -937,6 +937,10 b' class commitablectx(basectx):'
937 def _status(self):
937 def _status(self):
938 return self._repo.status()[:4]
938 return self._repo.status()[:4]
939
939
940 @propertycache
941 def _user(self):
942 return self._repo.ui.username()
943
940 def status(self, ignored=False, clean=False, unknown=False):
944 def status(self, ignored=False, clean=False, unknown=False):
941 """Explicit status query
945 """Explicit status query
942 Unless this method is used to query the working copy status, the
946 Unless this method is used to query the working copy status, the
@@ -973,10 +977,6 b' class workingctx(commitablectx):'
973 yield f
977 yield f
974
978
975 @propertycache
979 @propertycache
976 def _user(self):
977 return self._repo.ui.username()
978
979 @propertycache
980 def _date(self):
980 def _date(self):
981 return util.makedate()
981 return util.makedate()
982
982
General Comments 0
You need to be logged in to leave comments. Login now