Mercurial > hg
comparison tests/test-empty.t @ 11743:fc12420efcf4
tests: unify test-empty
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 02 Aug 2010 23:43:06 -0500 |
parents | tests/test-empty@7e5f3480c45b |
children | 4134686b83e1 |
comparison
equal
deleted
inserted
replaced
11742:5dc8b3ee407b | 11743:fc12420efcf4 |
---|---|
1 Create an empty repo: | |
2 | |
3 $ hg init a | |
4 $ cd a | |
5 | |
6 Try some commands: | |
7 | |
8 $ hg log | |
9 $ hg grep wah | |
10 $ hg manifest | |
11 $ hg verify | |
12 checking changesets | |
13 checking manifests | |
14 crosschecking files in changesets and manifests | |
15 checking files | |
16 0 files, 0 changesets, 0 total revisions | |
17 | |
18 Check the basic files created: | |
19 | |
20 $ ls .hg | |
21 00changelog.i | |
22 requires | |
23 store | |
24 | |
25 Should be empty: | |
26 | |
27 $ ls .hg/store | |
28 | |
29 Poke at a clone: | |
30 | |
31 $ cd .. | |
32 $ hg clone a b | |
33 updating to branch default | |
34 0 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
35 $ cd b | |
36 $ hg verify | |
37 checking changesets | |
38 checking manifests | |
39 crosschecking files in changesets and manifests | |
40 checking files | |
41 0 files, 0 changesets, 0 total revisions | |
42 $ ls .hg | |
43 00changelog.i | |
44 branch | |
45 dirstate | |
46 hgrc | |
47 requires | |
48 store | |
49 | |
50 Should be empty: | |
51 | |
52 $ ls .hg/store |