##// END OF EJS Templates
commitablectx: move deleted from workingctx
Sean Farley -
r19683:6336f35e default
parent child Browse files
Show More
@@ -976,6 +976,8 b' class commitablectx(basectx):'
976 return self._status[1]
976 return self._status[1]
977 def removed(self):
977 def removed(self):
978 return self._status[2]
978 return self._status[2]
979 def deleted(self):
980 return self._status[3]
979
981
980 class workingctx(commitablectx):
982 class workingctx(commitablectx):
981 """A workingctx object makes access to data related to
983 """A workingctx object makes access to data related to
@@ -1003,8 +1005,6 b' class workingctx(commitablectx):'
1003 p = p[:-1]
1005 p = p[:-1]
1004 return [changectx(self._repo, x) for x in p]
1006 return [changectx(self._repo, x) for x in p]
1005
1007
1006 def deleted(self):
1007 return self._status[3]
1008 def unknown(self):
1008 def unknown(self):
1009 assert self._unknown is not None # must call status first
1009 assert self._unknown is not None # must call status first
1010 return self._unknown
1010 return self._unknown
General Comments 0
You need to be logged in to leave comments. Login now