equal
deleted
inserted
replaced
506 raise util.Abort(_("partial pull cannot be done because " |
506 raise util.Abort(_("partial pull cannot be done because " |
507 "other repository doesn't support " |
507 "other repository doesn't support " |
508 "changegroupsubset.")) |
508 "changegroupsubset.")) |
509 else: |
509 else: |
510 cg = pullop.remote.changegroupsubset(pullop.fetch, pullop.heads, 'pull') |
510 cg = pullop.remote.changegroupsubset(pullop.fetch, pullop.heads, 'pull') |
511 pullop.cgresult = pullop.repo.addchangegroup(cg, 'pull', |
511 pullop.cgresult = changegroup.addchangegroup(pullop.repo, cg, 'pull', |
512 pullop.remote.url()) |
512 pullop.remote.url()) |
513 |
513 |
514 def _pullphase(pullop): |
514 def _pullphase(pullop): |
515 # Get remote phases data from remote |
515 # Get remote phases data from remote |
516 pullop.todosteps.remove('phases') |
516 pullop.todosteps.remove('phases') |