equal
deleted
inserted
replaced
1197 |
1197 |
1198 if heads is None: |
1198 if heads is None: |
1199 cg = remote.changegroup(fetch, 'pull') |
1199 cg = remote.changegroup(fetch, 'pull') |
1200 else: |
1200 else: |
1201 if not remote.capable('changegroupsubset'): |
1201 if not remote.capable('changegroupsubset'): |
1202 raise util.Abort(_("Partial pull cannot be done because " |
1202 raise util.Abort(_("partial pull cannot be done because " |
1203 "other repository doesn't support " |
1203 "other repository doesn't support " |
1204 "changegroupsubset.")) |
1204 "changegroupsubset.")) |
1205 cg = remote.changegroupsubset(fetch, heads, 'pull') |
1205 cg = remote.changegroupsubset(fetch, heads, 'pull') |
1206 return self.addchangegroup(cg, 'pull', remote.url(), lock=lock) |
1206 return self.addchangegroup(cg, 'pull', remote.url(), lock=lock) |
1207 finally: |
1207 finally: |