# HG changeset patch # User Raphaël Gomès # Date 2021-03-17 11:06:49 # Node ID ca69e29a2a3033a3bdce5294daef2a1237629c80 # Parent 56483ab91e662faa393b8568ef39313581f523f3 formatting: fix redundant parentheses These were introduced by 0d055849d5f9d682ef931d2566b760d5c6bf7e52. Differential Revision: https://phab.mercurial-scm.org/D10229 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)