diff -r 8de68446a5bd -r f4dd447e6efd mercurial/util.py --- a/mercurial/util.py Thu Feb 13 13:13:05 2025 +0100 +++ b/mercurial/util.py Sat Feb 15 14:12:20 2025 +0100 @@ -1423,7 +1423,7 @@ """ -class cowsortdict(cow, sortdict[_KT, _VT]): +class cowsortdict(cow, sortdict): """copy-on-write sortdict Be sure to call d = d.preparewrite() before writing to d.