##// END OF EJS Templates
commitablectx: move date from workingctx
Sean Farley -
r19677:e1141551 default
parent child Browse files
Show More
@@ -963,6 +963,8 class commitablectx(basectx):
963
963
964 def user(self):
964 def user(self):
965 return self._user or self._repo.ui.username()
965 return self._user or self._repo.ui.username()
966 def date(self):
967 return self._date
966
968
967 class workingctx(commitablectx):
969 class workingctx(commitablectx):
968 """A workingctx object makes access to data related to
970 """A workingctx object makes access to data related to
@@ -990,8 +992,6 class workingctx(commitablectx):
990 p = p[:-1]
992 p = p[:-1]
991 return [changectx(self._repo, x) for x in p]
993 return [changectx(self._repo, x) for x in p]
992
994
993 def date(self):
994 return self._date
995 def description(self):
995 def description(self):
996 return self._text
996 return self._text
997 def files(self):
997 def files(self):
General Comments 0
You need to be logged in to leave comments. Login now