tests/test-pull
author mpm@selenic.com
Wed, 15 Jun 2005 15:57:07 -0800
changeset 363 ae96b7e1318d
parent 350 b4e0e20646bb
child 382 37249c522770
permissions -rwxr-xr-x
Add hg copy -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Add hg copy extend dirstate to remember copies add copy command add copy repo operation write copy metadata with commit manifest hash: 9f42c7b4a2400d35807b5f18c05a31814fa3e375 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCsMBTywK+sNU5EO8RAjXpAJ9fvNtTP1A/4veqFWQHcWGro7buyACgoVXz /ngGOFowxS/zGkvUvGavYGQ= =drb1 -----END PGP SIGNATURE-----

#!/bin/bash

set -e

mkdir test
cd test
echo foo>foo
hg init
hg addremove
hg commit -t "1"
hg verify
hg serve 2>/dev/null &
C=$!
cd ..

mkdir copy
cd copy
hg init http://localhost:8000/
hg verify
hg co
cat foo
hg manifest

kill $C