##// END OF EJS Templates
context: add a no-op _prestatus method...
Sean Farley -
r21473:ef9b2bea default
parent child Browse files
Show More
@@ -78,6 +78,14 b' class basectx(object):'
78 del mf[fn]
78 del mf[fn]
79 return mf
79 return mf
80
80
81 def _prestatus(self, other, s, match, listignored, listclean, listunknown):
82 """provide a hook to allow child objects to preprocess status results
83
84 For example, this allows other contexts, such as workingctx, to query
85 the dirstate before comparing the manifests.
86 """
87 return s
88
81 def _buildstatus(self, other, s, match, listignored, listclean,
89 def _buildstatus(self, other, s, match, listignored, listclean,
82 listunknown):
90 listunknown):
83 """build a status with respect to another context"""
91 """build a status with respect to another context"""
General Comments 0
You need to be logged in to leave comments. Login now