##// 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 937 def _status(self):
938 938 return self._repo.status()[:4]
939 939
940 @propertycache
941 def _user(self):
942 return self._repo.ui.username()
943
940 944 def status(self, ignored=False, clean=False, unknown=False):
941 945 """Explicit status query
942 946 Unless this method is used to query the working copy status, the
@@ -973,10 +977,6 b' class workingctx(commitablectx):'
973 977 yield f
974 978
975 979 @propertycache
976 def _user(self):
977 return self._repo.ui.username()
978
979 @propertycache
980 980 def _date(self):
981 981 return util.makedate()
982 982
General Comments 0
You need to be logged in to leave comments. Login now