Submitter | phabricator |
---|---|
Date | Dec. 6, 2019, 3:37 p.m. |
Message ID | <0bcfeafe10699fd295cf3565dbfc4740@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/43595/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/mercurial/exchange.py b/mercurial/exchange.py --- a/mercurial/exchange.py +++ b/mercurial/exchange.py @@ -2577,7 +2577,7 @@ ): """add phase heads part to the requested bundle""" if kwargs.get('phases', False): - if not b2caps or not b'heads' in b2caps.get(b'phases'): + if not b2caps or b'heads' not in b2caps.get(b'phases'): raise error.Abort(_(b'no common phases exchange method')) if heads is None: heads = repo.heads()