tests/test-revert-unknown
author Vadim Gelfer <vadim.gelfer@gmail.com>
Sat, 04 Mar 2006 12:40:10 -0800
changeset 1913 74cf2b2f43d4
parent 1236 67a28636ea64
child 1933 7544700fd931
permissions -rwxr-xr-x
fix some things people wanted to be cleaner. rename --map-file to --style. no more -t alias for --template. update docs. rename template entry in map files to changelog. if --verbose, use changelog_verbose if there, else changelog.

#!/bin/sh

hg init
touch unknown

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

touch b
hg add b
hg ci -m "2" -d "0 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