Show More
@@ -170,13 +170,12 b' Test that if share source config is untr' | |||
|
170 | 170 | Update the source repository format and check that shared repo works |
|
171 | 171 | |
|
172 | 172 | $ cd ../source |
|
173 | ||
|
174 | Disable zstd related tests because its not present on pure version | |
|
175 | #if zstd | |
|
173 | 176 | $ echo "[format]" >> .hg/hgrc |
|
174 | 177 | $ echo "revlog-compression=zstd" >> .hg/hgrc |
|
175 | 178 | |
|
176 | $ hg debugupgraderepo --run -q -R ../shared1 | |
|
177 | abort: cannot upgrade repository; unsupported source requirement: shared | |
|
178 | [255] | |
|
179 | ||
|
180 | 179 |
$ |
|
181 | 180 | upgrade will perform the following actions: |
|
182 | 181 | |
@@ -190,6 +189,29 b' Update the source repository format and ' | |||
|
190 | 189 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
191 | 190 | summary: added b |
|
192 | 191 | |
|
192 | #endif | |
|
193 | $ echo "[format]" >> .hg/hgrc | |
|
194 | $ echo "use-persistent-nodemap=True" >> .hg/hgrc | |
|
195 | ||
|
196 | $ hg debugupgraderepo --run -q -R ../shared1 | |
|
197 | abort: cannot upgrade repository; unsupported source requirement: shared | |
|
198 | [255] | |
|
199 | ||
|
200 | $ hg debugupgraderepo --run -q | |
|
201 | upgrade will perform the following actions: | |
|
202 | ||
|
203 | requirements | |
|
204 | preserved: dotencode, exp-sharesafe, fncache, generaldelta, revlogv1, sparserevlog, store (no-zstd !) | |
|
205 | preserved: dotencode, exp-sharesafe, fncache, generaldelta, revlog-compression-zstd, revlogv1, sparserevlog, store (zstd !) | |
|
206 | added: persistent-nodemap | |
|
207 | ||
|
208 | $ hg log -r . | |
|
209 | changeset: 1:5f6d8a4bf34a | |
|
210 | user: test | |
|
211 | date: Thu Jan 01 00:00:00 1970 +0000 | |
|
212 | summary: added b | |
|
213 | ||
|
214 | ||
|
193 | 215 | Shared one should work |
|
194 | 216 | $ cd ../shared1 |
|
195 | 217 | $ hg log -r . |
General Comments 0
You need to be logged in to leave comments.
Login now