view tests/test-clone.out @ 698:df78d8ccac4c

Use python function instead of external 'cp' command when cloning repos. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Use python function instead of external 'cp' command when cloning repos. Inspired by a patch from Stephen Darnell. manifest hash: b525b0bf40f349b362db7c46d62be41572ef65cf -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFC1ncZW7P1GVgWeRoRAiJmAJ9GaCPaG6yOKb72I+SpDDdcdXTISACePD0H GR/F+qqzi2imdgIV77ziLcQ= =YVd2 -----END PGP SIGNATURE-----
author Thomas Arendsen Hein <thomas@intevation.de>
date Thu, 14 Jul 2005 15:30:49 +0100
parents 32f7dc81c07e
children 7e4843b7efd2
line wrap: on
line source

+ mkdir a
+ cd a
+ hg init
+ echo a
+ hg add a
+ hg commit -t test -u test -d '0 0'
+ hg clone . ../b
+ cd ../b
+ cat a
a
+ hg verify
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
1 files, 1 changesets, 1 total revisions
+ hg clone -U . ../c
+ cd ../c
+ cat a
cat: a: No such file or directory
+ hg verify
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
1 files, 1 changesets, 1 total revisions
+ mkdir ../d
+ cd ../d
+ hg clone ../a
+ cd a
+ hg cat a
a