--- a/mercurial/pure/parsers.py Sun Jul 04 02:37:38 2021 +0200
+++ b/mercurial/pure/parsers.py Sun Jul 04 22:27:29 2021 +0200
@@ -40,7 +40,7 @@
NONNORMAL = -1
-class dirstatetuple(object):
+class DirstateItem(object):
"""represent a dirstate entry
It contains:
@@ -530,7 +530,7 @@
if b'\0' in f:
f, c = f.split(b'\0')
copymap[f] = c
- dmap[f] = dirstatetuple(*e[:4])
+ dmap[f] = DirstateItem(*e[:4])
return parents
@@ -550,7 +550,7 @@
# dirstate, forcing future 'status' calls to compare the
# contents of the file if the size is the same. This prevents
# mistakenly treating such files as clean.
- e = dirstatetuple(e[0], e[1], e[2], -1)
+ e = DirstateItem(e[0], e[1], e[2], -1)
dmap[f] = e
if f in copymap: