comparison mercurial/context.py @ 21590:e5deefcaa12b

workingctx: add note about super._prestatus calling manifest
author Sean Farley <sean.michael.farley@gmail.com>
date Wed, 23 Apr 2014 16:06:42 -0500
parents 2945fdc38aad
children 16f62b4203b1
comparison
equal deleted inserted replaced
21589:2945fdc38aad 21590:e5deefcaa12b
1308 """override the parent hook with a dirstate query 1308 """override the parent hook with a dirstate query
1309 1309
1310 We use this prestatus hook to populate the status with information from 1310 We use this prestatus hook to populate the status with information from
1311 the dirstate. 1311 the dirstate.
1312 """ 1312 """
1313 # doesn't need to call super; if that changes, be aware that super
1314 # calls self.manifest which would slow down the common case of calling
1315 # status against a workingctx's parent
1313 return self._dirstatestatus(match, listignored, listclean, listunknown) 1316 return self._dirstatestatus(match, listignored, listclean, listunknown)
1314 1317
1315 def _poststatus(self, other, s, match, listignored, listclean, listunknown): 1318 def _poststatus(self, other, s, match, listignored, listclean, listunknown):
1316 """override the parent hook with a filter for suspect symlinks 1319 """override the parent hook with a filter for suspect symlinks
1317 1320