view tests/test-issue1089 @ 10620:1ee14abe07b4

shrink-revlog: instrument sort code to record statistics. Notably, count "suboptimal" nodes (predecessor is not first parent) and (with -v) report them at the end of the run.
author Greg Ward <greg-hg@gerg.ca>
date Tue, 09 Mar 2010 21:13:39 -0500
parents 2268edff1bec
children
line wrap: on
line source

#!/bin/sh

hg init a
cd a
mkdir a
echo a > a/b
hg ci -Am m
hg rm a
hg ci -m m a

mkdir a b
echo a > a/b
hg ci -Am m
hg rm a
cd b
# relative delete
hg ci -m m ../a