Mercurial > hg
comparison mercurial/dirstatemap.py @ 47906:50ded8854f8d
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
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 16 Jul 2021 18:25:01 +0200 |
parents | c0d6a59a7704 |
children | bbae583333e9 |
comparison
equal
deleted
inserted
replaced
47905:c0d6a59a7704 | 47906:50ded8854f8d |
---|---|
26 rustmod = policy.importrust('dirstate') | 26 rustmod = policy.importrust('dirstate') |
27 | 27 |
28 propertycache = util.propertycache | 28 propertycache = util.propertycache |
29 | 29 |
30 DirstateItem = parsers.DirstateItem | 30 DirstateItem = parsers.DirstateItem |
31 | |
32 | |
33 # a special value used internally for `size` if the file come from the other parent | |
34 FROM_P2 = -2 | |
35 | |
36 # a special value used internally for `size` if the file is modified/merged/added | |
37 NONNORMAL = -1 | |
38 | |
39 # a special value used internally for `time` if the time is ambigeous | |
40 AMBIGUOUS_TIME = -1 | |
41 | 31 |
42 rangemask = 0x7FFFFFFF | 32 rangemask = 0x7FFFFFFF |
43 | 33 |
44 | 34 |
45 class dirstatemap(object): | 35 class dirstatemap(object): |