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