Mercurial > hg > mercurial-crew-with-dirclash
annotate tests/test-clone @ 808:8f5637f0a0c0
Merge with TAH
author | mpm@selenic.com |
---|---|
date | Sat, 30 Jul 2005 08:35:29 -0800 |
parents | 7e4843b7efd2 ec85f9e6f3b1 |
children | 0902ffece4b4 |
rev | line source |
---|---|
550 | 1 #!/bin/bash |
2 | |
3 mkdir a | |
4 cd a | |
5 hg init | |
6 echo a > a | |
7 hg add a | |
749
7e4843b7efd2
Update tests to use commit -m and default -u
mpm@selenic.com
parents:
550
diff
changeset
|
8 hg commit -m test -d '0 0' |
550 | 9 |
10 # Default operation | |
11 hg clone . ../b | |
12 cd ../b | |
13 cat a | |
14 hg verify | |
15 | |
16 # No update | |
17 hg clone -U . ../c | |
18 cd ../c | |
19 cat a | |
20 hg verify | |
21 | |
22 # Default destination | |
23 mkdir ../d | |
24 cd ../d | |
25 hg clone ../a | |
26 cd a | |
27 hg cat a |