localrepo: call _poststatus hook instead of hardcoding symlink knowledge
authorSean Farley <sean.michael.farley@gmail.com>
Tue, 22 Apr 2014 13:02:38 -0500
changeset 21478 3b647aed4394
parent 21477 466964bdf4c1
child 21479 e18ef2e11219
localrepo: call _poststatus hook instead of hardcoding symlink knowledge
mercurial/localrepo.py
--- 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