Mercurial > public > mercurial-scm > hg
diff 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 |
line wrap: on
line diff
--- a/hgext/largefiles/reposetup.py Sun Jan 13 20:13:22 2019 -0500 +++ b/hgext/largefiles/reposetup.py Wed Feb 20 19:28:51 2019 -0500 @@ -174,8 +174,8 @@ if standin not in ctx1: # from second parent modified.append(lfile) - elif lfutil.readasstandin(ctx1[standin]) \ - != lfutil.hashfile(self.wjoin(lfile)): + elif (lfutil.readasstandin(ctx1[standin]) + != lfutil.hashfile(self.wjoin(lfile))): modified.append(lfile) else: if listclean: