pull: preindent some code
Next changesets will add support for using stream cloning with bundle2. We
introduce indentation change first for clarity.
--- a/mercurial/exchange.py Wed Jan 17 16:32:05 2018 +0100
+++ b/mercurial/exchange.py Wed Jan 17 14:13:46 2018 +0100
@@ -1461,10 +1461,11 @@
kwargs['common'] = pullop.common
kwargs['heads'] = pullop.heads or pullop.rheads
- # pulling changegroup
- pullop.stepsdone.add('changegroup')
+ if True:
+ # pulling changegroup
+ pullop.stepsdone.add('changegroup')
- kwargs['cg'] = pullop.fetch
+ kwargs['cg'] = pullop.fetch
legacyphase = 'phases' in ui.configlist('devel', 'legacy.exchange')
hasbinaryphase = 'heads' in pullop.remotebundle2caps.get('phases', ())