From patchwork Thu May 15 21:16:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [14, of, 19] localrepo: call _poststatus hook instead of hardcoding symlink knowledge From: Sean Farley X-Patchwork-Id: 4773 Message-Id: <62ee7ccd81062314afc7.1400188592@laptop.local> To: mercurial-devel@selenic.com Date: Thu, 15 May 2014 16:16:32 -0500 # HG changeset patch # User Sean Farley # 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