dirstatemap: drop unused internal constant definition
authorPierre-Yves David <pierre-yves.david@octobus.net>
Fri, 16 Jul 2021 18:25:01 +0200
changeset 47906 50ded8854f8d
parent 47905 c0d6a59a7704
child 47907 bbae583333e9
dirstatemap: drop unused internal constant definition All that logic now moved within the DirstateItem itself, so we can finally drop this implementation details from the "higher" level. Differential Revision: https://phab.mercurial-scm.org/D11331
mercurial/dirstatemap.py
--- a/mercurial/dirstatemap.py	Fri Jul 16 18:12:27 2021 +0200
+++ b/mercurial/dirstatemap.py	Fri Jul 16 18:25:01 2021 +0200
@@ -29,16 +29,6 @@
 
 DirstateItem = parsers.DirstateItem
 
-
-# a special value used internally for `size` if the file come from the other parent
-FROM_P2 = -2
-
-# a special value used internally for `size` if the file is modified/merged/added
-NONNORMAL = -1
-
-# a special value used internally for `time` if the time is ambigeous
-AMBIGUOUS_TIME = -1
-
 rangemask = 0x7FFFFFFF