tests/test-simple-update
author mpm@selenic.com
Wed, 15 Jun 2005 15:58:11 -0800
changeset 364 6f43778f26da
parent 350 b4e0e20646bb
child 485 c5705ab9cebd
permissions -rwxr-xr-x
test-help: hg copy now shows up in the help -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 test-help: hg copy now shows up in the help manifest hash: f5a8f55f2e87e363c22e1639eef4a919ed028d4e -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCsMCTywK+sNU5EO8RAg0UAKCtCVRkgxqjfHGIbaz1DTZ+FJgXdQCgrfkq i4W+etRh5HWatXrjw+n7Ppk= =4lE7 -----END PGP SIGNATURE-----

#!/bin/bash

set -ex

mkdir test
cd test
echo foo>foo
hg init
hg addremove
hg commit -t "1"
hg verify
cd ..

mkdir branch
cd branch
hg init ../test
hg co
echo bar>>foo
hg commit -t "2"

cd ../test
hg pull ../branch
hg verify
hg co
cat foo
hg manifest