Mercurial > hg
annotate tests/test-flagprocessor.t @ 52194:16b300e30139 stable
tests: bump the wait timeouts in test-racy-mutations.t
This was done to try to figure out why there's output differences in the
previous two commits- low timeouts have been a cause of a lot of problems on
Windows. That doesn't seem to be the case here, but I'm leaving it in anyway
to avoid sporadic failures.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Tue, 05 Nov 2024 12:02:38 -0500 |
parents | 05bb54a3ef26 |
children |
rev | line source |
---|---|
51237
49b00a04028f
rust-index: disabling flagprocessor tests
Georges Racinet on incendie.racinet.fr <georges@racinet.fr>
parents:
50725
diff
changeset
|
1 # Rust index does not support creating new flags dynamically |
49b00a04028f
rust-index: disabling flagprocessor tests
Georges Racinet on incendie.racinet.fr <georges@racinet.fr>
parents:
50725
diff
changeset
|
2 |
49b00a04028f
rust-index: disabling flagprocessor tests
Georges Racinet on incendie.racinet.fr <georges@racinet.fr>
parents:
50725
diff
changeset
|
3 #if no-rust |
49b00a04028f
rust-index: disabling flagprocessor tests
Georges Racinet on incendie.racinet.fr <georges@racinet.fr>
parents:
50725
diff
changeset
|
4 |
30745 | 5 # Create server |
6 $ hg init server | |
7 $ cd server | |
8 $ cat >> .hg/hgrc << EOF | |
9 > [extensions] | |
10 > extension=$TESTDIR/flagprocessorext.py | |
11 > EOF | |
12 $ cd ../ | |
13 | |
14 # Clone server and enable extensions | |
15 $ hg clone -q server client | |
16 $ cd client | |
17 $ cat >> .hg/hgrc << EOF | |
18 > [extensions] | |
19 > extension=$TESTDIR/flagprocessorext.py | |
20 > EOF | |
21 | |
22 # Commit file that will trigger the noop extension | |
23 $ echo '[NOOP]' > noop | |
24 $ hg commit -Aqm "noop" | |
25 | |
26 # Commit file that will trigger the base64 extension | |
27 $ echo '[BASE64]' > base64 | |
28 $ hg commit -Aqm 'base64' | |
29 | |
30 # Commit file that will trigger the gzip extension | |
31 $ echo '[GZIP]' > gzip | |
32 $ hg commit -Aqm 'gzip' | |
33 | |
34 # Commit file that will trigger noop and base64 | |
35 $ echo '[NOOP][BASE64]' > noop-base64 | |
36 $ hg commit -Aqm 'noop+base64' | |
37 | |
38 # Commit file that will trigger noop and gzip | |
39 $ echo '[NOOP][GZIP]' > noop-gzip | |
40 $ hg commit -Aqm 'noop+gzip' | |
41 | |
42 # Commit file that will trigger base64 and gzip | |
43 $ echo '[BASE64][GZIP]' > base64-gzip | |
44 $ hg commit -Aqm 'base64+gzip' | |
45 | |
46 # Commit file that will trigger base64, gzip and noop | |
47 $ echo '[BASE64][GZIP][NOOP]' > base64-gzip-noop | |
48 $ hg commit -Aqm 'base64+gzip+noop' | |
49 | |
50 # TEST: ensure the revision data is consistent | |
51 $ hg cat noop | |
52 [NOOP] | |
53 $ hg debugdata noop 0 | |
54 [NOOP] | |
55 | |
56 $ hg cat -r . base64 | |
57 [BASE64] | |
58 $ hg debugdata base64 0 | |
59 W0JBU0U2NF0K (no-eol) | |
60 | |
61 $ hg cat -r . gzip | |
62 [GZIP] | |
63 $ hg debugdata gzip 0 | |
64 x\x9c\x8bv\x8f\xf2\x0c\x88\xe5\x02\x00\x08\xc8\x01\xfd (no-eol) (esc) | |
65 | |
66 $ hg cat -r . noop-base64 | |
67 [NOOP][BASE64] | |
68 $ hg debugdata noop-base64 0 | |
69 W05PT1BdW0JBU0U2NF0K (no-eol) | |
70 | |
71 $ hg cat -r . noop-gzip | |
72 [NOOP][GZIP] | |
73 $ hg debugdata noop-gzip 0 | |
74 x\x9c\x8b\xf6\xf3\xf7\x0f\x88\x8dv\x8f\xf2\x0c\x88\xe5\x02\x00\x1dH\x03\xf1 (no-eol) (esc) | |
75 | |
76 $ hg cat -r . base64-gzip | |
77 [BASE64][GZIP] | |
78 $ hg debugdata base64-gzip 0 | |
79 eJyLdnIMdjUziY12j/IMiOUCACLBBDo= (no-eol) | |
80 | |
81 $ hg cat -r . base64-gzip-noop | |
82 [BASE64][GZIP][NOOP] | |
83 $ hg debugdata base64-gzip-noop 0 | |
84 eJyLdnIMdjUziY12j/IMiI328/cPiOUCAESjBi4= (no-eol) | |
85 | |
86 # Push to the server | |
87 $ hg push | |
35393
4441705b7111
tests: remove (glob) annotations that were only for '\' matches
Matt Harbison <matt_harbison@yahoo.com>
parents:
34845
diff
changeset
|
88 pushing to $TESTTMP/server |
30745 | 89 searching for changes |
90 adding changesets | |
91 adding manifests | |
92 adding file changes | |
93 added 7 changesets with 7 changes to 7 files | |
94 | |
37436
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
95 Ensure the data got to the server OK |
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
96 |
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
97 $ cd ../server |
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
98 $ hg cat -r 6e48f4215d24 noop |
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
99 [NOOP] |
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
100 $ hg debugdata noop 0 |
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
101 [NOOP] |
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
102 |
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
103 $ hg cat -r 6e48f4215d24 base64 |
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
104 [BASE64] |
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
105 $ hg debugdata base64 0 |
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
106 W0JBU0U2NF0K (no-eol) |
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
107 |
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
108 $ hg cat -r 6e48f4215d24 gzip |
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
109 [GZIP] |
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
110 $ hg debugdata gzip 0 |
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
111 x\x9c\x8bv\x8f\xf2\x0c\x88\xe5\x02\x00\x08\xc8\x01\xfd (no-eol) (esc) |
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
112 |
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
113 $ hg cat -r 6e48f4215d24 noop-base64 |
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
114 [NOOP][BASE64] |
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
115 $ hg debugdata noop-base64 0 |
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
116 W05PT1BdW0JBU0U2NF0K (no-eol) |
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
117 |
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
118 $ hg cat -r 6e48f4215d24 noop-gzip |
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
119 [NOOP][GZIP] |
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
120 $ hg debugdata noop-gzip 0 |
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
121 x\x9c\x8b\xf6\xf3\xf7\x0f\x88\x8dv\x8f\xf2\x0c\x88\xe5\x02\x00\x1dH\x03\xf1 (no-eol) (esc) |
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
122 |
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
123 $ hg cat -r 6e48f4215d24 base64-gzip |
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
124 [BASE64][GZIP] |
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
125 $ hg debugdata base64-gzip 0 |
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
126 eJyLdnIMdjUziY12j/IMiOUCACLBBDo= (no-eol) |
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
127 |
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
128 $ hg cat -r 6e48f4215d24 base64-gzip-noop |
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
129 [BASE64][GZIP][NOOP] |
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
130 $ hg debugdata base64-gzip-noop 0 |
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
131 eJyLdnIMdjUziY12j/IMiI328/cPiOUCAESjBi4= (no-eol) |
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
132 |
30745 | 133 # Initialize new client (not cloning) and setup extension |
134 $ cd .. | |
135 $ hg init client2 | |
136 $ cd client2 | |
137 $ cat >> .hg/hgrc << EOF | |
138 > [paths] | |
139 > default = $TESTTMP/server | |
140 > [extensions] | |
141 > extension=$TESTDIR/flagprocessorext.py | |
142 > EOF | |
143 | |
144 # Pull from server and update to latest revision | |
145 $ hg pull default | |
35393
4441705b7111
tests: remove (glob) annotations that were only for '\' matches
Matt Harbison <matt_harbison@yahoo.com>
parents:
34845
diff
changeset
|
146 pulling from $TESTTMP/server |
30745 | 147 requesting all changes |
148 adding changesets | |
149 adding manifests | |
150 adding file changes | |
151 added 7 changesets with 7 changes to 7 files | |
34661
eb586ed5d8ce
transaction-summary: show the range of new revisions upon pull/unbundle (BC)
Denis Laxalde <denis.laxalde@logilab.fr>
parents:
33617
diff
changeset
|
152 new changesets 07b1b9442c5b:6e48f4215d24 |
30745 | 153 (run 'hg update' to get a working copy) |
154 $ hg update | |
155 7 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
156 | |
157 # TEST: ensure the revision data is consistent | |
158 $ hg cat noop | |
159 [NOOP] | |
160 $ hg debugdata noop 0 | |
161 [NOOP] | |
162 | |
163 $ hg cat -r . base64 | |
164 [BASE64] | |
165 $ hg debugdata base64 0 | |
166 W0JBU0U2NF0K (no-eol) | |
167 | |
168 $ hg cat -r . gzip | |
169 [GZIP] | |
170 $ hg debugdata gzip 0 | |
171 x\x9c\x8bv\x8f\xf2\x0c\x88\xe5\x02\x00\x08\xc8\x01\xfd (no-eol) (esc) | |
172 | |
173 $ hg cat -r . noop-base64 | |
174 [NOOP][BASE64] | |
175 $ hg debugdata noop-base64 0 | |
176 W05PT1BdW0JBU0U2NF0K (no-eol) | |
177 | |
178 $ hg cat -r . noop-gzip | |
179 [NOOP][GZIP] | |
180 $ hg debugdata noop-gzip 0 | |
181 x\x9c\x8b\xf6\xf3\xf7\x0f\x88\x8dv\x8f\xf2\x0c\x88\xe5\x02\x00\x1dH\x03\xf1 (no-eol) (esc) | |
182 | |
183 $ hg cat -r . base64-gzip | |
184 [BASE64][GZIP] | |
185 $ hg debugdata base64-gzip 0 | |
186 eJyLdnIMdjUziY12j/IMiOUCACLBBDo= (no-eol) | |
187 | |
188 $ hg cat -r . base64-gzip-noop | |
189 [BASE64][GZIP][NOOP] | |
190 $ hg debugdata base64-gzip-noop 0 | |
191 eJyLdnIMdjUziY12j/IMiI328/cPiOUCAESjBi4= (no-eol) | |
192 | |
193 # TEST: ensure a missing processor is handled | |
194 $ echo '[FAIL][BASE64][GZIP][NOOP]' > fail-base64-gzip-noop | |
195 $ hg commit -Aqm 'fail+base64+gzip+noop' | |
45906
95c4cca641f6
errors: remove trailing "!" from some error messages for consistency
Martin von Zweigbergk <martinvonz@google.com>
parents:
44120
diff
changeset
|
196 abort: missing processor for flag '0x1' |
46116
17a695357270
errors: use detailed exit code 50 for StorageError
Martin von Zweigbergk <martinvonz@google.com>
parents:
45958
diff
changeset
|
197 [50] |
33614
41081364addb
tests: clarify that duplicate flag processors is not an error
Martin von Zweigbergk <martinvonz@google.com>
parents:
32724
diff
changeset
|
198 $ rm fail-base64-gzip-noop |
30745 | 199 |
200 # TEST: ensure we cannot register several flag processors on the same flag | |
201 $ cat >> .hg/hgrc << EOF | |
202 > [extensions] | |
203 > extension=$TESTDIR/flagprocessorext.py | |
204 > duplicate=$TESTDIR/flagprocessorext.py | |
205 > EOF | |
52121
05bb54a3ef26
pycompat: filter more of the traceback in `test-flagproccessor.t`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
51237
diff
changeset
|
206 $ hg debugrebuilddirstate 2>&1 | grep -E 'cannot register multiple processors|flagprocessorext' |
34845
78d9a7b7cdb6
extensions: always include traceback when extension setup fails
Martin von Zweigbergk <martinvonz@google.com>
parents:
34661
diff
changeset
|
207 File "*/tests/flagprocessorext.py", line *, in extsetup (glob) |
49876
950c39918bd2
tests: drop `(py3 !)` output matching predicates
Matt Harbison <matt_harbison@yahoo.com>
parents:
48874
diff
changeset
|
208 mercurial.error.Abort: cannot register multiple processors on flag '0x8'. |
32724
ea1c2eb7abd3
extensions: catch uisetup and extsetup failures and don't let them break hg
Augie Fackler <augie@google.com>
parents:
31856
diff
changeset
|
209 *** failed to set up extension duplicate: cannot register multiple processors on flag '0x8'. |
50725
7e5be4a7cda7
tests: use grep -E instead of obsolescent egrep
Mads Kiilerich <mads@kiilerich.com>
parents:
49876
diff
changeset
|
210 $ hg st 2>&1 | grep -E 'cannot register multiple processors|flagprocessorext' |
34845
78d9a7b7cdb6
extensions: always include traceback when extension setup fails
Martin von Zweigbergk <martinvonz@google.com>
parents:
34661
diff
changeset
|
211 File "*/tests/flagprocessorext.py", line *, in extsetup (glob) |
49876
950c39918bd2
tests: drop `(py3 !)` output matching predicates
Matt Harbison <matt_harbison@yahoo.com>
parents:
48874
diff
changeset
|
212 mercurial.error.Abort: cannot register multiple processors on flag '0x8'. |
33615
c6146dd10072
tests: fix test-flagprocessor.t flakiness
Martin von Zweigbergk <martinvonz@google.com>
parents:
33614
diff
changeset
|
213 *** failed to set up extension duplicate: cannot register multiple processors on flag '0x8'. |
c6146dd10072
tests: fix test-flagprocessor.t flakiness
Martin von Zweigbergk <martinvonz@google.com>
parents:
33614
diff
changeset
|
214 File "*/tests/flagprocessorext.py", line *, in b64decode (glob) |
31833
723c1ab2f77e
test-flagprocessor: add tests about bundlerepo
Jun Wu <quark@fb.com>
parents:
30745
diff
changeset
|
215 |
723c1ab2f77e
test-flagprocessor: add tests about bundlerepo
Jun Wu <quark@fb.com>
parents:
30745
diff
changeset
|
216 $ cd .. |
723c1ab2f77e
test-flagprocessor: add tests about bundlerepo
Jun Wu <quark@fb.com>
parents:
30745
diff
changeset
|
217 |
723c1ab2f77e
test-flagprocessor: add tests about bundlerepo
Jun Wu <quark@fb.com>
parents:
30745
diff
changeset
|
218 # TEST: bundle repo |
723c1ab2f77e
test-flagprocessor: add tests about bundlerepo
Jun Wu <quark@fb.com>
parents:
30745
diff
changeset
|
219 $ hg init bundletest |
723c1ab2f77e
test-flagprocessor: add tests about bundlerepo
Jun Wu <quark@fb.com>
parents:
30745
diff
changeset
|
220 $ cd bundletest |
723c1ab2f77e
test-flagprocessor: add tests about bundlerepo
Jun Wu <quark@fb.com>
parents:
30745
diff
changeset
|
221 |
723c1ab2f77e
test-flagprocessor: add tests about bundlerepo
Jun Wu <quark@fb.com>
parents:
30745
diff
changeset
|
222 $ cat >> .hg/hgrc << EOF |
723c1ab2f77e
test-flagprocessor: add tests about bundlerepo
Jun Wu <quark@fb.com>
parents:
30745
diff
changeset
|
223 > [extensions] |
723c1ab2f77e
test-flagprocessor: add tests about bundlerepo
Jun Wu <quark@fb.com>
parents:
30745
diff
changeset
|
224 > flagprocessor=$TESTDIR/flagprocessorext.py |
723c1ab2f77e
test-flagprocessor: add tests about bundlerepo
Jun Wu <quark@fb.com>
parents:
30745
diff
changeset
|
225 > EOF |
723c1ab2f77e
test-flagprocessor: add tests about bundlerepo
Jun Wu <quark@fb.com>
parents:
30745
diff
changeset
|
226 |
723c1ab2f77e
test-flagprocessor: add tests about bundlerepo
Jun Wu <quark@fb.com>
parents:
30745
diff
changeset
|
227 $ for i in 0 single two three 4; do |
723c1ab2f77e
test-flagprocessor: add tests about bundlerepo
Jun Wu <quark@fb.com>
parents:
30745
diff
changeset
|
228 > echo '[BASE64]a-bit-longer-'$i > base64 |
723c1ab2f77e
test-flagprocessor: add tests about bundlerepo
Jun Wu <quark@fb.com>
parents:
30745
diff
changeset
|
229 > hg commit -m base64-$i -A base64 |
723c1ab2f77e
test-flagprocessor: add tests about bundlerepo
Jun Wu <quark@fb.com>
parents:
30745
diff
changeset
|
230 > done |
723c1ab2f77e
test-flagprocessor: add tests about bundlerepo
Jun Wu <quark@fb.com>
parents:
30745
diff
changeset
|
231 |
723c1ab2f77e
test-flagprocessor: add tests about bundlerepo
Jun Wu <quark@fb.com>
parents:
30745
diff
changeset
|
232 $ hg update 2 -q |
723c1ab2f77e
test-flagprocessor: add tests about bundlerepo
Jun Wu <quark@fb.com>
parents:
30745
diff
changeset
|
233 $ echo '[BASE64]a-bit-longer-branching' > base64 |
723c1ab2f77e
test-flagprocessor: add tests about bundlerepo
Jun Wu <quark@fb.com>
parents:
30745
diff
changeset
|
234 $ hg commit -q -m branching |
723c1ab2f77e
test-flagprocessor: add tests about bundlerepo
Jun Wu <quark@fb.com>
parents:
30745
diff
changeset
|
235 |
37436
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
236 #if repobundlerepo |
31833
723c1ab2f77e
test-flagprocessor: add tests about bundlerepo
Jun Wu <quark@fb.com>
parents:
30745
diff
changeset
|
237 $ hg bundle --base 1 bundle.hg |
723c1ab2f77e
test-flagprocessor: add tests about bundlerepo
Jun Wu <quark@fb.com>
parents:
30745
diff
changeset
|
238 4 changesets found |
723c1ab2f77e
test-flagprocessor: add tests about bundlerepo
Jun Wu <quark@fb.com>
parents:
30745
diff
changeset
|
239 $ hg --config extensions.strip= strip -r 2 --no-backup --force -q |
31838
c39e7c4b535c
test-flagprocessor: remove unnecessary greps
Jun Wu <quark@fb.com>
parents:
31837
diff
changeset
|
240 $ hg -R bundle.hg log --stat -T '{rev} {desc}\n' base64 |
31836
4598e8f43e20
bundlerepo: fix raw handling in revision()
Jun Wu <quark@fb.com>
parents:
31835
diff
changeset
|
241 5 branching |
4598e8f43e20
bundlerepo: fix raw handling in revision()
Jun Wu <quark@fb.com>
parents:
31835
diff
changeset
|
242 base64 | 2 +- |
4598e8f43e20
bundlerepo: fix raw handling in revision()
Jun Wu <quark@fb.com>
parents:
31835
diff
changeset
|
243 1 files changed, 1 insertions(+), 1 deletions(-) |
4598e8f43e20
bundlerepo: fix raw handling in revision()
Jun Wu <quark@fb.com>
parents:
31835
diff
changeset
|
244 |
4598e8f43e20
bundlerepo: fix raw handling in revision()
Jun Wu <quark@fb.com>
parents:
31835
diff
changeset
|
245 4 base64-4 |
4598e8f43e20
bundlerepo: fix raw handling in revision()
Jun Wu <quark@fb.com>
parents:
31835
diff
changeset
|
246 base64 | 2 +- |
4598e8f43e20
bundlerepo: fix raw handling in revision()
Jun Wu <quark@fb.com>
parents:
31835
diff
changeset
|
247 1 files changed, 1 insertions(+), 1 deletions(-) |
4598e8f43e20
bundlerepo: fix raw handling in revision()
Jun Wu <quark@fb.com>
parents:
31835
diff
changeset
|
248 |
4598e8f43e20
bundlerepo: fix raw handling in revision()
Jun Wu <quark@fb.com>
parents:
31835
diff
changeset
|
249 3 base64-three |
4598e8f43e20
bundlerepo: fix raw handling in revision()
Jun Wu <quark@fb.com>
parents:
31835
diff
changeset
|
250 base64 | 2 +- |
4598e8f43e20
bundlerepo: fix raw handling in revision()
Jun Wu <quark@fb.com>
parents:
31835
diff
changeset
|
251 1 files changed, 1 insertions(+), 1 deletions(-) |
4598e8f43e20
bundlerepo: fix raw handling in revision()
Jun Wu <quark@fb.com>
parents:
31835
diff
changeset
|
252 |
4598e8f43e20
bundlerepo: fix raw handling in revision()
Jun Wu <quark@fb.com>
parents:
31835
diff
changeset
|
253 2 base64-two |
4598e8f43e20
bundlerepo: fix raw handling in revision()
Jun Wu <quark@fb.com>
parents:
31835
diff
changeset
|
254 base64 | 2 +- |
4598e8f43e20
bundlerepo: fix raw handling in revision()
Jun Wu <quark@fb.com>
parents:
31835
diff
changeset
|
255 1 files changed, 1 insertions(+), 1 deletions(-) |
4598e8f43e20
bundlerepo: fix raw handling in revision()
Jun Wu <quark@fb.com>
parents:
31835
diff
changeset
|
256 |
4598e8f43e20
bundlerepo: fix raw handling in revision()
Jun Wu <quark@fb.com>
parents:
31835
diff
changeset
|
257 1 base64-single |
4598e8f43e20
bundlerepo: fix raw handling in revision()
Jun Wu <quark@fb.com>
parents:
31835
diff
changeset
|
258 base64 | 2 +- |
4598e8f43e20
bundlerepo: fix raw handling in revision()
Jun Wu <quark@fb.com>
parents:
31835
diff
changeset
|
259 1 files changed, 1 insertions(+), 1 deletions(-) |
4598e8f43e20
bundlerepo: fix raw handling in revision()
Jun Wu <quark@fb.com>
parents:
31835
diff
changeset
|
260 |
4598e8f43e20
bundlerepo: fix raw handling in revision()
Jun Wu <quark@fb.com>
parents:
31835
diff
changeset
|
261 0 base64-0 |
4598e8f43e20
bundlerepo: fix raw handling in revision()
Jun Wu <quark@fb.com>
parents:
31835
diff
changeset
|
262 base64 | 1 + |
4598e8f43e20
bundlerepo: fix raw handling in revision()
Jun Wu <quark@fb.com>
parents:
31835
diff
changeset
|
263 1 files changed, 1 insertions(+), 0 deletions(-) |
4598e8f43e20
bundlerepo: fix raw handling in revision()
Jun Wu <quark@fb.com>
parents:
31835
diff
changeset
|
264 |
31833
723c1ab2f77e
test-flagprocessor: add tests about bundlerepo
Jun Wu <quark@fb.com>
parents:
30745
diff
changeset
|
265 |
31838
c39e7c4b535c
test-flagprocessor: remove unnecessary greps
Jun Wu <quark@fb.com>
parents:
31837
diff
changeset
|
266 $ hg bundle -R bundle.hg --base 1 bundle-again.hg -q |
c39e7c4b535c
test-flagprocessor: remove unnecessary greps
Jun Wu <quark@fb.com>
parents:
31837
diff
changeset
|
267 $ hg -R bundle-again.hg log --stat -T '{rev} {desc}\n' base64 |
31837
37e793918c07
bundlerepo: use raw revision in revdiff()
Jun Wu <quark@fb.com>
parents:
31836
diff
changeset
|
268 5 branching |
37e793918c07
bundlerepo: use raw revision in revdiff()
Jun Wu <quark@fb.com>
parents:
31836
diff
changeset
|
269 base64 | 2 +- |
37e793918c07
bundlerepo: use raw revision in revdiff()
Jun Wu <quark@fb.com>
parents:
31836
diff
changeset
|
270 1 files changed, 1 insertions(+), 1 deletions(-) |
37e793918c07
bundlerepo: use raw revision in revdiff()
Jun Wu <quark@fb.com>
parents:
31836
diff
changeset
|
271 |
37e793918c07
bundlerepo: use raw revision in revdiff()
Jun Wu <quark@fb.com>
parents:
31836
diff
changeset
|
272 4 base64-4 |
37e793918c07
bundlerepo: use raw revision in revdiff()
Jun Wu <quark@fb.com>
parents:
31836
diff
changeset
|
273 base64 | 2 +- |
37e793918c07
bundlerepo: use raw revision in revdiff()
Jun Wu <quark@fb.com>
parents:
31836
diff
changeset
|
274 1 files changed, 1 insertions(+), 1 deletions(-) |
37e793918c07
bundlerepo: use raw revision in revdiff()
Jun Wu <quark@fb.com>
parents:
31836
diff
changeset
|
275 |
37e793918c07
bundlerepo: use raw revision in revdiff()
Jun Wu <quark@fb.com>
parents:
31836
diff
changeset
|
276 3 base64-three |
37e793918c07
bundlerepo: use raw revision in revdiff()
Jun Wu <quark@fb.com>
parents:
31836
diff
changeset
|
277 base64 | 2 +- |
37e793918c07
bundlerepo: use raw revision in revdiff()
Jun Wu <quark@fb.com>
parents:
31836
diff
changeset
|
278 1 files changed, 1 insertions(+), 1 deletions(-) |
37e793918c07
bundlerepo: use raw revision in revdiff()
Jun Wu <quark@fb.com>
parents:
31836
diff
changeset
|
279 |
37e793918c07
bundlerepo: use raw revision in revdiff()
Jun Wu <quark@fb.com>
parents:
31836
diff
changeset
|
280 2 base64-two |
37e793918c07
bundlerepo: use raw revision in revdiff()
Jun Wu <quark@fb.com>
parents:
31836
diff
changeset
|
281 base64 | 2 +- |
37e793918c07
bundlerepo: use raw revision in revdiff()
Jun Wu <quark@fb.com>
parents:
31836
diff
changeset
|
282 1 files changed, 1 insertions(+), 1 deletions(-) |
37e793918c07
bundlerepo: use raw revision in revdiff()
Jun Wu <quark@fb.com>
parents:
31836
diff
changeset
|
283 |
37e793918c07
bundlerepo: use raw revision in revdiff()
Jun Wu <quark@fb.com>
parents:
31836
diff
changeset
|
284 1 base64-single |
37e793918c07
bundlerepo: use raw revision in revdiff()
Jun Wu <quark@fb.com>
parents:
31836
diff
changeset
|
285 base64 | 2 +- |
37e793918c07
bundlerepo: use raw revision in revdiff()
Jun Wu <quark@fb.com>
parents:
31836
diff
changeset
|
286 1 files changed, 1 insertions(+), 1 deletions(-) |
37e793918c07
bundlerepo: use raw revision in revdiff()
Jun Wu <quark@fb.com>
parents:
31836
diff
changeset
|
287 |
37e793918c07
bundlerepo: use raw revision in revdiff()
Jun Wu <quark@fb.com>
parents:
31836
diff
changeset
|
288 0 base64-0 |
37e793918c07
bundlerepo: use raw revision in revdiff()
Jun Wu <quark@fb.com>
parents:
31836
diff
changeset
|
289 base64 | 1 + |
37e793918c07
bundlerepo: use raw revision in revdiff()
Jun Wu <quark@fb.com>
parents:
31836
diff
changeset
|
290 1 files changed, 1 insertions(+), 0 deletions(-) |
37e793918c07
bundlerepo: use raw revision in revdiff()
Jun Wu <quark@fb.com>
parents:
31836
diff
changeset
|
291 |
31855
a418c5837bc0
test-flagprocessor: add a case about hg status
Jun Wu <quark@fb.com>
parents:
31838
diff
changeset
|
292 $ rm bundle.hg bundle-again.hg |
37436
9d4f09bfe3ec
simplestore: correctly implement flag processors
Gregory Szorc <gregory.szorc@gmail.com>
parents:
35393
diff
changeset
|
293 #endif |
31855
a418c5837bc0
test-flagprocessor: add a case about hg status
Jun Wu <quark@fb.com>
parents:
31838
diff
changeset
|
294 |
a418c5837bc0
test-flagprocessor: add a case about hg status
Jun Wu <quark@fb.com>
parents:
31838
diff
changeset
|
295 # TEST: hg status |
a418c5837bc0
test-flagprocessor: add a case about hg status
Jun Wu <quark@fb.com>
parents:
31838
diff
changeset
|
296 |
a418c5837bc0
test-flagprocessor: add a case about hg status
Jun Wu <quark@fb.com>
parents:
31838
diff
changeset
|
297 $ hg status |
a418c5837bc0
test-flagprocessor: add a case about hg status
Jun Wu <quark@fb.com>
parents:
31838
diff
changeset
|
298 $ hg diff |
51237
49b00a04028f
rust-index: disabling flagprocessor tests
Georges Racinet on incendie.racinet.fr <georges@racinet.fr>
parents:
50725
diff
changeset
|
299 |
49b00a04028f
rust-index: disabling flagprocessor tests
Georges Racinet on incendie.racinet.fr <georges@racinet.fr>
parents:
50725
diff
changeset
|
300 |
49b00a04028f
rust-index: disabling flagprocessor tests
Georges Racinet on incendie.racinet.fr <georges@racinet.fr>
parents:
50725
diff
changeset
|
301 #endif |