--- a/mercurial/hg.py Wed Nov 30 11:12:48 2022 +0100 +++ b/mercurial/hg.py Tue Nov 29 21:42:08 2022 +0100 @@ -168,6 +168,7 @@ return _peerlookup(repo).islocal(repo) except AttributeError: return False + repo.ui.deprecwarn(b"use obj.local() instead of islocal(obj)", b"6.4") return repo.local()