Mercurial > hg
annotate tests/test-clone.out @ 550:96ff7dae94f7
[PATCH] Tests for clone command
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[PATCH] Tests for clone command
From: Bryan O'Sullivan <bos@serpentine.com>
This patch adds two new tests. One tests clone's correct operation, the
other that clone fails when it should.
This patch depends on oserror.patch.
manifest hash: a0c9c4932baf29e7b33b2bd2003ddd2254ce65d3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCxPX9ywK+sNU5EO8RAmSNAJ9esixtATdkszwLltu65dzpKf6P4gCcCqGT
+Z7CTbXRTFcJvmXFlvEo0xE=
=6fqz
-----END PGP SIGNATURE-----
author | mpm@selenic.com |
---|---|
date | Thu, 30 Jun 2005 23:51:25 -0800 |
parents | |
children | 5d6177b72fcc |
rev | line source |
---|---|
550 | 1 + mkdir a |
2 + cd a | |
3 + hg init | |
4 + echo a | |
5 + hg add a | |
6 + hg commit -t test -u test -d '0 0' | |
7 + hg clone . ../b | |
8 + cd ../b | |
9 + cat a | |
10 a | |
11 + hg verify | |
12 checking changesets | |
13 checking manifests | |
14 crosschecking files in changesets and manifests | |
15 checking files | |
16 1 files, 1 changesets, 1 total revisions | |
17 + hg clone -U . ../c | |
18 + cd ../c | |
19 + cat a | |
20 cat: a: No such file or directory | |
21 + hg verify | |
22 checking changesets | |
23 checking manifests | |
24 crosschecking files in changesets and manifests | |
25 checking files | |
26 1 files, 1 changesets, 1 total revisions | |
27 + mkdir ../d | |
28 + cd ../d | |
29 + hg clone ../a | |
30 + cd a | |
31 + hg cat a | |
32 a |