view tests/test-remove @ 1953:379ab45b91b7

change default strftime format for better portability On some systems, such as Solaris and HP-UX, "%c" format give output without the leading zero on the single-digit month-day.
author TK Soh <teekaysoh@yahoo.com>
date Tue, 14 Mar 2006 22:01:30 -0800
parents 8393baa0858c
children 82385773df6c
line wrap: on
line source

#!/bin/sh

hg init a
cd a
echo a > foo
hg add foo
hg commit -m 1 -d "1000000 0"
rm foo
hg remove foo
hg commit -m 2 -d "1000000 0"
hg export 0
hg export 1
hg log -p -r 0
hg log -p -r 1

cd ..
hg clone a b