hgext/evolve.py
changeset 1096 661f3a112f7a
parent 1095 26334cfd4e95
child 1097 580a2d838996
equal deleted inserted replaced
1095:26334cfd4e95 1096:661f3a112f7a
  2482     Its a separed functio to play around with strategy for that."""
  2482     Its a separed functio to play around with strategy for that."""
  2483     repo = pullop.repo
  2483     repo = pullop.repo
  2484     cl = pullop.repo.changelog
  2484     cl = pullop.repo.changelog
  2485     remote = pullop.remote
  2485     remote = pullop.remote
  2486     unfi = repo.unfiltered()
  2486     unfi = repo.unfiltered()
  2487     revs = unfi.revs('::%ln', pullop.pulledsubset)
  2487     revs = unfi.revs('::%ln', pullop.common)
  2488     common = [nullid]
  2488     common = [nullid]
  2489     if remote.capable('_evoext_obshash_0'):
  2489     if remote.capable('_evoext_obshash_0'):
  2490         obsexcmsg(repo.ui, "looking for common markers in %i nodes\n"
  2490         obsexcmsg(repo.ui, "looking for common markers in %i nodes\n"
  2491                            % len(revs))
  2491                            % len(revs))
  2492         common = findcommonobsmarkers(repo.ui, repo, remote, revs)
  2492         common = findcommonobsmarkers(repo.ui, repo, remote, revs)
  2650     caps = orig(repo, proto)
  2650     caps = orig(repo, proto)
  2651     if obsolete._enabled:
  2651     if obsolete._enabled:
  2652         caps += ' _evoext_pushobsmarkers_0'
  2652         caps += ' _evoext_pushobsmarkers_0'
  2653         caps += ' _evoext_pullobsmarkers_0'
  2653         caps += ' _evoext_pullobsmarkers_0'
  2654         caps += ' _evoext_obshash_0'
  2654         caps += ' _evoext_obshash_0'
       
  2655         caps += ' _evoext_getbundle_obscommon'
  2655     return caps
  2656     return caps
  2656 
  2657 
  2657 
  2658 
  2658 @eh.extsetup
  2659 @eh.extsetup
  2659 def _installwireprotocol(ui):
  2660 def _installwireprotocol(ui):