comparison mercurial/branchmap.py @ 52663:dc36535a5edc

style: drop extraneous parentheses These were rewritten by `pyupgrade`.
author Matt Harbison <matt_harbison@yahoo.com>
date Mon, 06 Jan 2025 14:07:43 -0500
parents c6ed4b359c4c
children 24ee91ba9aa8
comparison
equal deleted inserted replaced
52662:3b6f25190157 52663:dc36535a5edc
143 b, c = clbranchinfo(r) 143 b, c = clbranchinfo(r)
144 if c: 144 if c:
145 closed.add(h) 145 closed.add(h)
146 146
147 if rbheads: 147 if rbheads:
148 rtiprev = max((int(clrev(node)) for node in rbheads)) 148 rtiprev = max(int(clrev(node)) for node in rbheads)
149 cache = new_branch_cache( 149 cache = new_branch_cache(
150 repo, 150 repo,
151 remotebranchmap, 151 remotebranchmap,
152 repo[rtiprev].node(), 152 repo[rtiprev].node(),
153 rtiprev, 153 rtiprev,