##// END OF EJS Templates
exchange: replace a "not x in ys" by more Pythonic "x not in ys"...
Martin von Zweigbergk -
r44234:0f6782df default
parent child Browse files
Show More
@@ -2577,7 +2577,7 b' def _getbundlephasespart('
2577 ):
2577 ):
2578 """add phase heads part to the requested bundle"""
2578 """add phase heads part to the requested bundle"""
2579 if kwargs.get('phases', False):
2579 if kwargs.get('phases', False):
2580 if not b2caps or not b'heads' in b2caps.get(b'phases'):
2580 if not b2caps or b'heads' not in b2caps.get(b'phases'):
2581 raise error.Abort(_(b'no common phases exchange method'))
2581 raise error.Abort(_(b'no common phases exchange method'))
2582 if heads is None:
2582 if heads is None:
2583 heads = repo.heads()
2583 heads = repo.heads()
General Comments 0
You need to be logged in to leave comments. Login now