Mercurial > hg
view tests/test-diff-reverse @ 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 | 24bc6e414610 |
children |
line wrap: on
line source
#!/bin/sh hg init cat > a <<EOF a b c EOF hg ci -Am adda cat > a <<EOF d e f EOF hg ci -m moda hg diff --reverse -r0 -r1 cat >> a <<EOF g h EOF hg diff --reverse --nodates