mercurial/localrepo.py
branchstable
changeset 12847 b00eda50ad2b
parent 12752 18b5b6392fcf
child 12899 fabe61418a53
equal deleted inserted replaced
12846:4b334f8c941b 12847:b00eda50ad2b
  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