hgext/remotefilelog/__init__.py
changeset 43798 888bd39ed555
parent 43662 c5f6f58f6c71
child 43873 5606e1cb4685
equal deleted inserted replaced
43797:c8e9a3636abe 43798:888bd39ed555
  1061 
  1061 
  1062     bgrepack = repo.ui.configbool(b'remotefilelog', b'backgroundrepack')
  1062     bgrepack = repo.ui.configbool(b'remotefilelog', b'backgroundrepack')
  1063     # update a revset with a date limit
  1063     # update a revset with a date limit
  1064     bgprefetchrevs = revdatelimit(ui, bgprefetchrevs)
  1064     bgprefetchrevs = revdatelimit(ui, bgprefetchrevs)
  1065 
  1065 
  1066     def anon():
  1066     def anon(unused_success):
  1067         if util.safehasattr(repo, b'ranprefetch') and repo.ranprefetch:
  1067         if util.safehasattr(repo, b'ranprefetch') and repo.ranprefetch:
  1068             return
  1068             return
  1069         repo.ranprefetch = True
  1069         repo.ranprefetch = True
  1070         repo.backgroundprefetch(bgprefetchrevs, repack=bgrepack)
  1070         repo.backgroundprefetch(bgprefetchrevs, repack=bgrepack)
  1071 
  1071