log: slowpath: only walk specified revision range during preparation
Even with --removed, it does not make sense to examine changesets outside
of the revision range that was specified by the user: the last phase only
yields a subset of (revs), preparation phase hence only has to examine
(revs) to fill correctly fncache.
#!/bin/sh
hg init
echo a > a
hg add
hg ci -m1
# set mtime of a into the future
touch -t 202101011200 a
# status must not set a's entry to unset (issue1790)
hg status
hg debugstate