Mercurial > public > mercurial-scm > hg
comparison mercurial/exchange.py @ 21554:7bcf4adadd2d
exchange: fix indentation level
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Thu, 22 May 2014 13:39:55 -0700 |
parents | ab5040cd5749 |
children | e303b8ea84b3 |
comparison
equal
deleted
inserted
replaced
21553:bee0e1cffdd3 | 21554:7bcf4adadd2d |
---|---|
622 heads=pullop.heads or pullop.rheads) | 622 heads=pullop.heads or pullop.rheads) |
623 elif pullop.heads is None: | 623 elif pullop.heads is None: |
624 cg = pullop.remote.changegroup(pullop.fetch, 'pull') | 624 cg = pullop.remote.changegroup(pullop.fetch, 'pull') |
625 elif not pullop.remote.capable('changegroupsubset'): | 625 elif not pullop.remote.capable('changegroupsubset'): |
626 raise util.Abort(_("partial pull cannot be done because " | 626 raise util.Abort(_("partial pull cannot be done because " |
627 "other repository doesn't support " | 627 "other repository doesn't support " |
628 "changegroupsubset.")) | 628 "changegroupsubset.")) |
629 else: | 629 else: |
630 cg = pullop.remote.changegroupsubset(pullop.fetch, pullop.heads, 'pull') | 630 cg = pullop.remote.changegroupsubset(pullop.fetch, pullop.heads, 'pull') |
631 pullop.cgresult = changegroup.addchangegroup(pullop.repo, cg, 'pull', | 631 pullop.cgresult = changegroup.addchangegroup(pullop.repo, cg, 'pull', |
632 pullop.remote.url()) | 632 pullop.remote.url()) |
633 | 633 |