--- a/mercurial/narrowspec.py Thu Jul 18 12:03:29 2024 +0200
+++ b/mercurial/narrowspec.py Thu Jul 18 12:36:12 2024 +0200
@@ -225,7 +225,6 @@
m = "changing narrow spec outside of a transaction"
raise error.ProgrammingError(m)
else:
-
reporef = weakref.ref(repo)
def clean_pending(tr):