##// END OF EJS Templates
workingctx: add _poststatus method to call _filtersuspectsymlink...
Sean Farley -
r21477:466964bd default
parent child Browse files
Show More
@@ -1294,6 +1294,16 b' class workingctx(committablectx):'
1294 """
1294 """
1295 return self._dirstatestatus(match, listignored, listclean, listunknown)
1295 return self._dirstatestatus(match, listignored, listclean, listunknown)
1296
1296
1297 def _poststatus(self, other, s, match, listignored, listclean, listunknown):
1298 """override the parent hook with a filter for suspect symlinks
1299
1300 We use this poststatus hook to filter out symlinks that might have
1301 accidentally ended up with the entire contents of the file they are
1302 susposed to be linking to.
1303 """
1304 s[0] = self._filtersuspectsymlink(s[0])
1305 return s
1306
1297 def _dirstatestatus(self, match=None, ignored=False, clean=False,
1307 def _dirstatestatus(self, match=None, ignored=False, clean=False,
1298 unknown=False):
1308 unknown=False):
1299 '''Gets the status from the dirstate -- internal use only.'''
1309 '''Gets the status from the dirstate -- internal use only.'''
General Comments 0
You need to be logged in to leave comments. Login now