[PATCH 14 of 19] localrepo: call _poststatus hook instead of hardcoding symlink knowledge

Sean Farley sean.michael.farley at gmail.com
Thu May 15 16:16:32 CDT 2014


# HG changeset patch
# User Sean Farley <sean.michael.farley at gmail.com>
# Date 1398189758 18000
#      Tue Apr 22 13:02:38 2014 -0500
# Node ID 62ee7ccd81062314afc77ca72279175fb19c0ea3
# Parent  aeb046dc6d14e4e658eb08b6134894209117f70b
localrepo: call _poststatus hook instead of hardcoding symlink knowledge

diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py
--- a/mercurial/localrepo.py
+++ b/mercurial/localrepo.py
@@ -1551,15 +1551,14 @@ class localrepository(object):
 
         if not parentworking:
             r = ctx2._generatestatus(ctx1, s, 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
 
         r = modified, added, removed, deleted, unknown, ignored, clean
 


More information about the Mercurial-devel mailing list