diff --git a/mercurial/dirstate.py b/mercurial/dirstate.py --- a/mercurial/dirstate.py +++ b/mercurial/dirstate.py @@ -1279,7 +1279,7 @@ class dirstate(object): or size == -2 # other parent or fn in copymap ): - if (stat.S_ISLNK(st.st_mode) and size != st.st_size): + if stat.S_ISLNK(st.st_mode) and size != st.st_size: # issue6456: Size returned may be longer due to # encryption on EXT-4 fscrypt, undecided. ladd(fn)