Mercurial > hg-stable
changeset 51176:498017baa34b
cleanup: remove some code scheduled to be removed after 5.9
looks like we missed this when cleaning up previous code.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 08 Nov 2023 22:08:05 +0100 |
parents | b13804f7ef5f |
children | 88ef80210d67 |
files | mercurial/localrepo.py |
diffstat | 1 files changed, 1 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/localrepo.py Tue Nov 21 16:22:47 2023 +0100 +++ b/mercurial/localrepo.py Wed Nov 08 22:08:05 2023 +0100 @@ -2921,17 +2921,7 @@ unfi = self.unfiltered() - if full: - msg = ( - "`full` argument for `repo.updatecaches` is deprecated\n" - "(use `caches=repository.CACHE_ALL` instead)" - ) - self.ui.deprecwarn(msg, b"5.9") - caches = repository.CACHES_ALL - if full == b"post-clone": - caches = repository.CACHES_POST_CLONE - caches = repository.CACHES_ALL - elif caches is None: + if caches is None: caches = repository.CACHES_DEFAULT if repository.CACHE_BRANCHMAP_SERVED in caches: