view tests/test-empty-dir @ 588:0c3bae18403b

[PATCH] hg revert -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [PATCH] hg revert From: Bryan O'Sullivan <bos@serpentine.com> Add revert command. manifest hash: 0094e6bf421f34bd0492a33f95400b1b095a6bdc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCx2BaywK+sNU5EO8RAigMAKCrvgTtIDuirCsMVlbiTMqaJy3UNgCdEcTL hMN1X8FZi6sH+NjUdr9sYBg= =i58L -----END PGP SIGNATURE-----
author mpm@selenic.com
date Sat, 02 Jul 2005 19:49:46 -0800
parents e33c85d2812a
children 7e4843b7efd2
line wrap: on
line source

#!/bin/sh

hg init
echo 123 > a
hg add a
hg commit -t "first" -u test -d "0 0" a
mkdir sub
echo 321 > sub/b
hg add sub/b
hg commit -t "second" -u test -d "0 0" sub/b
cat sub/b
hg co 0
cat sub/b
ls sub

true