dirstate: drop the now unused magic constants for the dirstate module
We no longer need them for the dirstate logic. We only need them in the
dirstate map (and parsers) logic.
This smell like progress.
Differential Revision: https://phab.mercurial-scm.org/D10964
--- a/mercurial/dirstate.py Sun Jul 04 20:23:19 2021 +0200
+++ b/mercurial/dirstate.py Sat Jul 03 20:53:52 2021 +0200
@@ -47,15 +47,6 @@
dirstatetuple = parsers.dirstatetuple
-# a special value used internally for `size` if the file come from the other parent
-FROM_P2 = dirstatemap.FROM_P2
-
-# a special value used internally for `size` if the file is modified/merged/added
-NONNORMAL = dirstatemap.NONNORMAL
-
-# a special value used internally for `time` if the time is ambigeous
-AMBIGUOUS_TIME = dirstatemap.AMBIGUOUS_TIME
-
class repocache(filecache):
"""filecache for files in .hg/"""