view tests/test-revert @ 1472:3c909a747d7f

make revert use standard matcher
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Thu, 27 Oct 2005 13:31:12 -0700
parents 30146be3437c
children 2bc6cd62a29c
line wrap: on
line source

#!/bin/sh

hg init
echo 123 > a
echo 123 > c
hg add a c
hg commit -m "first" -d "0 0" a c
echo 123 > b
hg status
echo 12 > c
hg status
hg add b
hg status
hg rm a
hg status
hg revert a
hg status
hg revert b
hg status
hg revert c
hg status
ls

true