view tests/test-race @ 10236:49a8625b8cac

shrink-revlog: help/doc tweaks - make it look right in 'hg help extensions' - clarify --revlog option - add a main program to tell users this is no longer a standalone script
author Greg Ward <greg-hg@gerg.ca>
date Tue, 12 Jan 2010 15:12:53 +0100
parents 6d952dc2abc9
children
line wrap: on
line source

#!/bin/sh

mkdir t
cd t
hg init
echo a > a
hg add a
hg commit -m test

# do we ever miss a sub-second change?
for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20; do
    hg co -qC 0
    echo b > a
    hg st
done