equal
deleted
inserted
replaced
2757 if full: |
2757 if full: |
2758 msg = ( |
2758 msg = ( |
2759 "`full` argument for `repo.updatecaches` is deprecated\n" |
2759 "`full` argument for `repo.updatecaches` is deprecated\n" |
2760 "(use `caches=repository.CACHE_ALL` instead)" |
2760 "(use `caches=repository.CACHE_ALL` instead)" |
2761 ) |
2761 ) |
2762 self.ui.deprecwarn(msg, "5.9") |
2762 self.ui.deprecwarn(msg, b"5.9") |
2763 caches = repository.CACHES_ALL |
2763 caches = repository.CACHES_ALL |
2764 if full == b"post-clone": |
2764 if full == b"post-clone": |
2765 caches = repository.CACHES_POST_CLONE |
2765 caches = repository.CACHES_POST_CLONE |
2766 caches = repository.CACHES_ALL |
2766 caches = repository.CACHES_ALL |
2767 elif caches is None: |
2767 elif caches is None: |