##// END OF EJS Templates
commitablectx: move modified from workingctx
Sean Farley -
r19680:fc33fcfa default
parent child Browse files
Show More
@@ -970,6 +970,9 b' class commitablectx(basectx):'
970 970 def files(self):
971 971 return sorted(self._status[0] + self._status[1] + self._status[2])
972 972
973 def modified(self):
974 return self._status[0]
975
973 976 class workingctx(commitablectx):
974 977 """A workingctx object makes access to data related to
975 978 the current working directory convenient.
@@ -996,8 +999,6 b' class workingctx(commitablectx):'
996 999 p = p[:-1]
997 1000 return [changectx(self._repo, x) for x in p]
998 1001
999 def modified(self):
1000 return self._status[0]
1001 1002 def added(self):
1002 1003 return self._status[1]
1003 1004 def removed(self):
General Comments 0
You need to be logged in to leave comments. Login now