view tests/test-revert-unknown @ 2338:391c5d0f9ef3

Minor typo change to reflect actual values used.
author "Daniel Santa Cruz <dansan@vikus.com>"
date Mon, 22 May 2006 12:17:44 -0400
parents 7544700fd931
children
line wrap: on
line source

#!/bin/sh

hg init
touch unknown

touch a
hg add a
hg ci -m "1" -d "1000000 0"

touch b
hg add b
hg ci -m "2" -d "1000000 0"

echo %% Should show unknown
hg status
hg revert -r 0
echo %% Should show unknown and b removed
hg status
echo %% Should show a and unknown
ls