##// END OF EJS Templates
commitablectx: move files from workingctx
Sean Farley -
r19679:f21804f1 default
parent child Browse files
Show More
@@ -967,6 +967,8 b' class commitablectx(basectx):'
967 return self._date
967 return self._date
968 def description(self):
968 def description(self):
969 return self._text
969 return self._text
970 def files(self):
971 return sorted(self._status[0] + self._status[1] + self._status[2])
970
972
971 class workingctx(commitablectx):
973 class workingctx(commitablectx):
972 """A workingctx object makes access to data related to
974 """A workingctx object makes access to data related to
@@ -994,9 +996,6 b' class workingctx(commitablectx):'
994 p = p[:-1]
996 p = p[:-1]
995 return [changectx(self._repo, x) for x in p]
997 return [changectx(self._repo, x) for x in p]
996
998
997 def files(self):
998 return sorted(self._status[0] + self._status[1] + self._status[2])
999
1000 def modified(self):
999 def modified(self):
1001 return self._status[0]
1000 return self._status[0]
1002 def added(self):
1001 def added(self):
General Comments 0
You need to be logged in to leave comments. Login now