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