##// END OF EJS Templates
test: simpler requirements matching in test-repo-compengines.t...
marmoute -
r49508:d7135d8e default
parent child Browse files
Show More
@@ -9,16 +9,8 b' A new repository uses zlib storage, whic'
9
9
10 $ hg init default
10 $ hg init default
11 $ cd default
11 $ cd default
12 $ hg debugrequires
12 $ hg debugrequires | grep compression
13 dotencode
13 [1]
14 dirstate-v2 (dirstate-v2 !)
15 fncache
16 generaldelta
17 persistent-nodemap (rust !)
18 revlogv1
19 sparserevlog
20 store
21 testonly-simplestore (reposimplestore !)
22
14
23 $ touch foo
15 $ touch foo
24 $ hg -q commit -A -m 'initial commit with a lot of repeated repeated repeated text to trigger compression'
16 $ hg -q commit -A -m 'initial commit with a lot of repeated repeated repeated text to trigger compression'
@@ -59,16 +51,8 b' with that engine or a requirement'
59 $ touch bar
51 $ touch bar
60 $ hg --config format.revlog-compression=none -q commit -A -m 'add bar with a lot of repeated repeated repeated text'
52 $ hg --config format.revlog-compression=none -q commit -A -m 'add bar with a lot of repeated repeated repeated text'
61
53
62 $ hg debugrequires
54 $ hg debugrequires | grep compression
63 dotencode
55 [1]
64 dirstate-v2 (dirstate-v2 !)
65 fncache
66 generaldelta
67 persistent-nodemap (rust !)
68 revlogv1
69 sparserevlog
70 store
71 testonly-simplestore (reposimplestore !)
72
56
73 $ hg debugrevlog -c | grep 0x78
57 $ hg debugrevlog -c | grep 0x78
74 0x78 (x) : 2 (100.00%)
58 0x78 (x) : 2 (100.00%)
@@ -79,17 +63,8 b' with that engine or a requirement'
79
63
80 $ hg --config format.revlog-compression=zstd init zstd
64 $ hg --config format.revlog-compression=zstd init zstd
81 $ cd zstd
65 $ cd zstd
82 $ hg debugrequires
66 $ hg debugrequires | grep compression
83 dotencode
84 dirstate-v2 (dirstate-v2 !)
85 fncache
86 generaldelta
87 persistent-nodemap (rust !)
88 revlog-compression-zstd
67 revlog-compression-zstd
89 revlogv1
90 sparserevlog
91 store
92 testonly-simplestore (reposimplestore !)
93
68
94 $ touch foo
69 $ touch foo
95 $ hg -q commit -A -m 'initial commit with a lot of repeated repeated repeated text'
70 $ hg -q commit -A -m 'initial commit with a lot of repeated repeated repeated text'
@@ -183,17 +158,8 b' checking details of none compression'
183 summary: some-commit
158 summary: some-commit
184
159
185
160
186 $ hg debugrequires -R none-compression/
161 $ hg debugrequires -R none-compression/ | grep compression
187 dotencode
188 exp-compression-none
162 exp-compression-none
189 dirstate-v2 (dirstate-v2 !)
190 fncache
191 generaldelta
192 persistent-nodemap (rust !)
193 revlogv1
194 sparserevlog
195 store
196 testonly-simplestore (reposimplestore !)
197
163
198 $ $RUNTESTDIR/f -s none-compression/.hg/store/data/*
164 $ $RUNTESTDIR/f -s none-compression/.hg/store/data/*
199 none-compression/.hg/store/data/a.i: size=4216
165 none-compression/.hg/store/data/a.i: size=4216
General Comments 0
You need to be logged in to leave comments. Login now