##// END OF EJS Templates
commitablectx: move clean from workingctx
Sean Farley -
r19686:e189c8ff default
parent child Browse files
Show More
@@ -984,6 +984,9 b' class commitablectx(basectx):'
984 def ignored(self):
984 def ignored(self):
985 assert self._ignored is not None # must call status first
985 assert self._ignored is not None # must call status first
986 return self._ignored
986 return self._ignored
987 def clean(self):
988 assert self._clean is not None # must call status first
989 return self._clean
987
990
988 class workingctx(commitablectx):
991 class workingctx(commitablectx):
989 """A workingctx object makes access to data related to
992 """A workingctx object makes access to data related to
@@ -1011,9 +1014,6 b' class workingctx(commitablectx):'
1011 p = p[:-1]
1014 p = p[:-1]
1012 return [changectx(self._repo, x) for x in p]
1015 return [changectx(self._repo, x) for x in p]
1013
1016
1014 def clean(self):
1015 assert self._clean is not None # must call status first
1016 return self._clean
1017 def branch(self):
1017 def branch(self):
1018 return encoding.tolocal(self._extra['branch'])
1018 return encoding.tolocal(self._extra['branch'])
1019 def closesbranch(self):
1019 def closesbranch(self):
General Comments 0
You need to be logged in to leave comments. Login now