view tests/test-undo @ 475:ab53998b9dcd

Fixed diff generation in hgeditor if a list of files is given to hg commit. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Fixed diff generation in hgeditor if a list of files is given to hg commit. manifest hash: 3eadc3637963778a35000fa75f229eb6b44ffc3d -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCvoRsW7P1GVgWeRoRArNpAJ4p5NQBkv1X+eHwWU7+aqoGkcqwlACgklk2 e/vr9qiIPcOVrbYViapZD9E= =3fRb -----END PGP SIGNATURE-----
author Thomas Arendsen Hein <thomas@intevation.de>
date Sun, 26 Jun 2005 11:33:16 +0100
parents b4e0e20646bb
children 3d4d5f2aba9a 4fc63e22b1fe
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