localrepo: call _poststatus hook instead of hardcoding symlink knowledge

This commit is contained in:
Sean Farley 2014-04-22 13:02:38 -05:00
parent 463e9b93cd
commit 37d0fb4ec7

View File

@ -1556,11 +1556,10 @@ class localrepository(object):
r = ctx2._buildstatus(ctx1, r, match, listignored, listclean,
listunknown)
r = ctx2._poststatus(ctx1, r, match, listignored, listclean,
listunknown)
modified, added, removed, deleted, unknown, ignored, clean = r
if working:
modified = ctx2._filtersuspectsymlink(modified)
if reversed:
added, removed = removed, added