comparison mercurial/hgweb/hgwebdir_mod.py @ 51690:493034cc3265

black: format the codebase with 23.3.0 The CI has moved to 23.3.0, which is the last version that supports 3.7 at runtime, so we should honor this change. # skip-blame mass-reformating only
author Raphaël Gomès <rgomes@octobus.net>
date Thu, 18 Jul 2024 12:36:12 +0200
parents 3972d090aba2
children 7f0cb9ee0534
comparison
equal deleted inserted replaced
51689:39e2b2d062c1 51690:493034cc3265
118 descend = ui.configbool(b'web', b'descend') 118 descend = ui.configbool(b'web', b'descend')
119 collapse = ui.configbool(b'web', b'collapse') 119 collapse = ui.configbool(b'web', b'collapse')
120 seenrepos = set() 120 seenrepos = set()
121 seendirs = set() 121 seendirs = set()
122 for name, path in repos: 122 for name, path in repos:
123
124 if not name.startswith(subdir): 123 if not name.startswith(subdir):
125 continue 124 continue
126 name = name[len(subdir) :] 125 name = name[len(subdir) :]
127 directory = False 126 directory = False
128 127