diff -r 7a8ea1397816 -r d718eddf01d9 mercurial/pvec.py --- a/mercurial/pvec.py Thu Dec 08 15:33:19 2022 +0100 +++ b/mercurial/pvec.py Thu Aug 31 23:56:15 2023 +0200 @@ -159,7 +159,7 @@ def ctxpvec(ctx): '''construct a pvec for ctx while filling in the cache''' r = ctx.repo() - if not util.safehasattr(r, "_pveccache"): + if not hasattr(r, "_pveccache"): r._pveccache = {} pvc = r._pveccache if ctx.rev() not in pvc: