Mercurial > public > mercurial-scm > hg
diff mercurial/localrepo.py @ 47412:c887bab2dccf
py3: byteify the version string passed to the deprecation warning method
The other callers were already correct.
Differential Revision: https://phab.mercurial-scm.org/D10873
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Fri, 11 Jun 2021 23:57:14 -0400 |
parents | 8b2d09c7e5cd |
children | d2e0226b511a |
line wrap: on
line diff
--- a/mercurial/localrepo.py Fri Jun 11 23:51:27 2021 -0400 +++ b/mercurial/localrepo.py Fri Jun 11 23:57:14 2021 -0400 @@ -2759,7 +2759,7 @@ "`full` argument for `repo.updatecaches` is deprecated\n" "(use `caches=repository.CACHE_ALL` instead)" ) - self.ui.deprecwarn(msg, "5.9") + self.ui.deprecwarn(msg, b"5.9") caches = repository.CACHES_ALL if full == b"post-clone": caches = repository.CACHES_POST_CLONE