Mercurial > hg
comparison mercurial/dirstate.py @ 46703:ca69e29a2a30 stable
formatting: fix redundant parentheses
These were introduced by 0d055849d5f9d682ef931d2566b760d5c6bf7e52.
Differential Revision: https://phab.mercurial-scm.org/D10229
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Wed, 17 Mar 2021 12:06:49 +0100 |
parents | 0d055849d5f9 |
children | e2f7b2695ba1 |
comparison
equal
deleted
inserted
replaced
46702:56483ab91e66 | 46703:ca69e29a2a30 |
---|---|
1277 or ((mode ^ st.st_mode) & 0o100 and checkexec) | 1277 or ((mode ^ st.st_mode) & 0o100 and checkexec) |
1278 ) | 1278 ) |
1279 or size == -2 # other parent | 1279 or size == -2 # other parent |
1280 or fn in copymap | 1280 or fn in copymap |
1281 ): | 1281 ): |
1282 if (stat.S_ISLNK(st.st_mode) and size != st.st_size): | 1282 if stat.S_ISLNK(st.st_mode) and size != st.st_size: |
1283 # issue6456: Size returned may be longer due to | 1283 # issue6456: Size returned may be longer due to |
1284 # encryption on EXT-4 fscrypt, undecided. | 1284 # encryption on EXT-4 fscrypt, undecided. |
1285 ladd(fn) | 1285 ladd(fn) |
1286 else: | 1286 else: |
1287 madd(fn) | 1287 madd(fn) |