mercurial/pvec.py
changeset 50928 d718eddf01d9
parent 49284 d44e3c45f0e4
child 51287 f15cb5111a1e
--- 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: