comparison tests/test-manifest.t @ 12253:e5aee120287b

tests: unify test-manifest*
author Adrian Buehlmann <adrian@cadifra.com>
date Fri, 10 Sep 2010 23:13:59 +0200
parents tests/test-manifest@7239e06e58e9
children 4134686b83e1
comparison
equal deleted inserted replaced
12251:20f011311212 12253:e5aee120287b
1 # Source bundle was generated with the following script.
2 #
3 # hg init
4 # echo a > a
5 # ln -s a l
6 # hg ci -Ama -d'0 0'
7 # mkdir b
8 # echo a > b/a
9 # chmod +x b/a
10 # hg ci -Amb -d'1 0'
11
12 $ hg init
13 $ hg -q pull "$TESTDIR/test-manifest.hg"
14
15
16 The next call is expected to return nothing:
17
18 $ hg manifest
19
20
21 $ hg co
22 3 files updated, 0 files merged, 0 files removed, 0 files unresolved
23
24 $ hg manifest
25 a
26 b/a
27 l
28
29 $ hg manifest -v
30 644 a
31 755 * b/a
32 644 @ l
33
34 $ hg manifest --debug
35 b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3 644 a
36 b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3 755 * b/a
37 047b75c6d7a3ef6a2243bd0e99f94f6ea6683597 644 @ l
38
39 $ hg manifest -r 0
40 a
41 l
42
43 $ hg manifest -r 1
44 a
45 b/a
46 l
47
48 $ hg manifest -r tip
49 a
50 b/a
51 l
52
53 $ hg manifest tip
54 a
55 b/a
56 l
57
58
59 The next two calls are expected to abort:
60
61 $ hg manifest -r 2
62 abort: unknown revision '2'!
63
64 $ hg manifest -r tip tip
65 abort: please specify just one revision
66
67
68 $ true
69