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

login
register
mail settings
Submitter Sean Farley
Date May 15, 2014, 9:16 p.m.
Message ID <62ee7ccd81062314afc7.1400188592@laptop.local>
Download mbox | patch
Permalink /patch/4773/
State Accepted
Commit 3b647aed439405733ccadf5f0645067e1222db01
Headers show

Comments

Sean Farley - May 15, 2014, 9:16 p.m.
# HG changeset patch
# User Sean Farley <sean.michael.farley@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

Patch

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