comparison mercurial/exchange.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 3b0ba4575c8c
children 1eb2fc21da12
comparison
equal deleted inserted replaced
41758:15d3facfa40a 41759:aaad36b88298
2545 # Stream clone v1 2545 # Stream clone v1
2546 if (bundlespec.wirecompression == 'UN' and bundlespec.wireversion == 's1'): 2546 if (bundlespec.wirecompression == 'UN' and bundlespec.wireversion == 's1'):
2547 return True 2547 return True
2548 2548
2549 # Stream clone v2 2549 # Stream clone v2
2550 if (bundlespec.wirecompression == 'UN' and \ 2550 if (bundlespec.wirecompression == 'UN' and
2551 bundlespec.wireversion == '02' and \ 2551 bundlespec.wireversion == '02' and
2552 bundlespec.contentopts.get('streamv2')): 2552 bundlespec.contentopts.get('streamv2')):
2553 return True 2553 return True
2554 2554
2555 return False 2555 return False
2556 2556