equal
deleted
inserted
replaced
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 |