comparison hgext/largefiles/reposetup.py @ 41759:aaad36b88298

cleanup: use () to wrap long lines instead of \ This is a little less brittle, and often helps indentation. In a surprising number of cases the entire cleanup was deleting the \, as the expression was *already* parenthesized in a workable way. Differential Revision: https://phab.mercurial-scm.org/D5993
author Augie Fackler <augie@google.com>
date Wed, 20 Feb 2019 19:28:51 -0500
parents 0531dff73d0b
children 34ed651ba7e4
comparison
equal deleted inserted replaced
41758:15d3facfa40a 41759:aaad36b88298
172 for lfile in unsure: 172 for lfile in unsure:
173 standin = lfutil.standin(lfile) 173 standin = lfutil.standin(lfile)
174 if standin not in ctx1: 174 if standin not in ctx1:
175 # from second parent 175 # from second parent
176 modified.append(lfile) 176 modified.append(lfile)
177 elif lfutil.readasstandin(ctx1[standin]) \ 177 elif (lfutil.readasstandin(ctx1[standin])
178 != lfutil.hashfile(self.wjoin(lfile)): 178 != lfutil.hashfile(self.wjoin(lfile))):
179 modified.append(lfile) 179 modified.append(lfile)
180 else: 180 else:
181 if listclean: 181 if listclean:
182 clean.append(lfile) 182 clean.append(lfile)
183 lfdirstate.normal(lfile) 183 lfdirstate.normal(lfile)