changeset 21478:3b647aed4394

localrepo: call _poststatus hook instead of hardcoding symlink knowledge
author Sean Farley <sean.michael.farley@gmail.com>
date Tue, 22 Apr 2014 13:02:38 -0500
parents 466964bdf4c1
children e18ef2e11219
files mercurial/localrepo.py
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/localrepo.py	Tue Apr 22 12:59:22 2014 -0500
+++ b/mercurial/localrepo.py	Tue Apr 22 13:02:38 2014 -0500
@@ -1556,11 +1556,10 @@
             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