D10229: formatting: fix redundant parentheses

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

D10229: formatting: fix redundant parentheses

marmoute (Pierre-Yves David)
Alphare created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  These were introduced by 0d055849d5f9d682ef931d2566b760d5c6bf7e52 <https://phab.mercurial-scm.org/rHG0d055849d5f9d682ef931d2566b760d5c6bf7e52>.

REPOSITORY
  rHG Mercurial

BRANCH
  stable

REVISION DETAIL
  https://phab.mercurial-scm.org/D10229

AFFECTED FILES
  mercurial/dirstate.py

CHANGE DETAILS

diff --git a/mercurial/dirstate.py b/mercurial/dirstate.py
--- a/mercurial/dirstate.py
+++ b/mercurial/dirstate.py
@@ -1279,7 +1279,7 @@
                     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)



To: Alphare, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
_______________________________________________
Mercurial-devel mailing list
[hidden email]
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel