view tests/test-undo @ 336:aa6cbde09f72

Add some more tests -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Add some more tests manifest hash: 0e357a0d32baee877f2c7b6c6a8f7468e4b7f1b5 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCr4TQywK+sNU5EO8RAoZ1AJ9lbLIN2uwLWpVOilQs9CkyFIaQ5wCeKToO 1HXJVrlhexgIzwSnBkTBNOo= =UJ+y -----END PGP SIGNATURE-----
author mpm@selenic.com
date Tue, 14 Jun 2005 17:30:56 -0800
parents
children b2293093b89e b4e0e20646bb
line wrap: on
line source

#!/bin/bash

set -x
mkdir t
cd t
hg init
echo a > a
hg add a
hg commit -t "test" -u test -d "0 0"
hg verify
hg parents
hg status
hg undo
hg verify
hg parents
hg status