diff mercurial/branchmap.py @ 41768: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 a87ca1d7e61d
children 68bbcc70e274
line wrap: on
line diff
--- a/mercurial/branchmap.py	Sun Jan 13 20:13:22 2019 -0500
+++ b/mercurial/branchmap.py	Wed Feb 20 19:28:51 2019 -0500
@@ -229,7 +229,7 @@
         - True when cache is up to date or a subset of current repo."""
         try:
             return ((self.tipnode == repo.changelog.node(self.tiprev))
-                    and (self.filteredhash == \
+                    and (self.filteredhash ==
                          scmutil.filteredhash(repo, self.tiprev)))
         except IndexError:
             return False