mercurial/localrepo.py
changeset 47412 c887bab2dccf
parent 47300 8b2d09c7e5cd
child 47421 d2e0226b511a
equal deleted inserted replaced
47411:515014d72aa2 47412:c887bab2dccf
  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: