##// END OF EJS Templates
basectx: add _matchstatus method for factoring out last of parentworking logic...
Sean Farley -
r21481:2f1567ef default
parent child Browse files
Show More
@@ -78,6 +78,15 b' class basectx(object):'
78 del mf[fn]
78 del mf[fn]
79 return mf
79 return mf
80
80
81 def _matchstatus(self, other, s, match, listignored, listclean,
82 listunknown):
83 """return match.always if match is none
84
85 This internal method provides a way for child objects to override the
86 match operator.
87 """
88 return match or matchmod.always(self._repo.root, self._repo.getcwd())
89
81 def _prestatus(self, other, s, match, listignored, listclean, listunknown):
90 def _prestatus(self, other, s, match, listignored, listclean, listunknown):
82 """provide a hook to allow child objects to preprocess status results
91 """provide a hook to allow child objects to preprocess status results
83
92
General Comments 0
You need to be logged in to leave comments. Login now