changeset 47522:587bb99ea311

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
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sat, 03 Jul 2021 20:53:52 +0200
parents abed645b8e96
children b76d54b90dc9
files mercurial/dirstate.py
diffstat 1 files changed, 0 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- 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/"""