equal
deleted
inserted
replaced
1270 common, fetch, rheads = tmp |
1270 common, fetch, rheads = tmp |
1271 if not fetch: |
1271 if not fetch: |
1272 self.ui.status(_("no changes found\n")) |
1272 self.ui.status(_("no changes found\n")) |
1273 return 0 |
1273 return 0 |
1274 |
1274 |
1275 if fetch == [nullid]: |
1275 if heads is None and fetch == [nullid]: |
1276 self.ui.status(_("requesting all changes\n")) |
1276 self.ui.status(_("requesting all changes\n")) |
1277 elif heads is None and remote.capable('changegroupsubset'): |
1277 elif heads is None and remote.capable('changegroupsubset'): |
1278 # issue1320, avoid a race if remote changed after discovery |
1278 # issue1320, avoid a race if remote changed after discovery |
1279 heads = rheads |
1279 heads = rheads |
1280 |
1280 |