Show More
@@ -2921,17 +2921,7 b' class localrepository:' | |||||
2921 |
|
2921 | |||
2922 | unfi = self.unfiltered() |
|
2922 | unfi = self.unfiltered() | |
2923 |
|
2923 | |||
2924 | if full: |
|
2924 | if caches is None: | |
2925 | msg = ( |
|
|||
2926 | "`full` argument for `repo.updatecaches` is deprecated\n" |
|
|||
2927 | "(use `caches=repository.CACHE_ALL` instead)" |
|
|||
2928 | ) |
|
|||
2929 | self.ui.deprecwarn(msg, b"5.9") |
|
|||
2930 | caches = repository.CACHES_ALL |
|
|||
2931 | if full == b"post-clone": |
|
|||
2932 | caches = repository.CACHES_POST_CLONE |
|
|||
2933 | caches = repository.CACHES_ALL |
|
|||
2934 | elif caches is None: |
|
|||
2935 | caches = repository.CACHES_DEFAULT |
|
2925 | caches = repository.CACHES_DEFAULT | |
2936 |
|
2926 | |||
2937 | if repository.CACHE_BRANCHMAP_SERVED in caches: |
|
2927 | if repository.CACHE_BRANCHMAP_SERVED in caches: |
General Comments 0
You need to be logged in to leave comments.
Login now