hgext3rd/pullbundle.py
changeset 4737 46c990705a96
parent 4208 7d4c80c3f386
child 4756 22ffbbba695d
equal deleted inserted replaced
4736:9e0d35d2f7d4 4737:46c990705a96
   505 
   505 
   506     repo.ui.write("gathering %d sample pulls within %d revisions\n"
   506     repo.ui.write("gathering %d sample pulls within %d revisions\n"
   507                   % (count, len(actionrevs)))
   507                   % (count, len(actionrevs)))
   508     if 1 < min_cache:
   508     if 1 < min_cache:
   509         repo.ui.write("  not caching ranges smaller than %d changesets\n" % min_cache)
   509         repo.ui.write("  not caching ranges smaller than %d changesets\n" % min_cache)
   510     for i in xrange(count):
   510     for i in range(count):
   511         repo.ui.progress('gathering data', i, total=count)
   511         repo.ui.progress('gathering data', i, total=count)
   512         outgoing = takeonesample(repo, actionrevs)
   512         outgoing = takeonesample(repo, actionrevs)
   513         ranges = sliceoutgoing(repo, outgoing)
   513         ranges = sliceoutgoing(repo, outgoing)
   514         hitranges = 0
   514         hitranges = 0
   515         hitchanges = 0
   515         hitchanges = 0