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
# issue 1678
echo "# -- setting up base repo"
hg init a
cd a
touch a
hg ci -Am a
cd ..
echo "# -- cloning base repo"
hg clone a b
cd b
echo "# -- setting up cset to push"
hg up null
touch a
hg ci -Am b # different msg so we get a clog new entry
echo "# -- pushing"
hg push -f ../a