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