##// END OF EJS Templates
tests: check `pulled-delta-reuse-policy=forced` without general delta...
marmoute -
r51540:7c5edf6f stable
parent child Browse files
Show More
@@ -331,3 +331,32 b' more subtle to test this behavior.'
331 DBG-DELTAS: MANIFESTLOG: * (glob)
331 DBG-DELTAS: MANIFESTLOG: * (glob)
332 DBG-DELTAS: FILELOG:my-file.txt: rev=3: delta-base=2 * (glob)
332 DBG-DELTAS: FILELOG:my-file.txt: rev=3: delta-base=2 * (glob)
333 DBG-DELTAS: FILELOG:my-file.txt: rev=4: delta-base=3 * (glob)
333 DBG-DELTAS: FILELOG:my-file.txt: rev=4: delta-base=3 * (glob)
334
335 Check that running "forced" on a non-general delta repository does not corrupt it
336 ---------------------------------------------------------------------------------
337
338 Even if requested to be used, some of the delta in the revlog cannot be stored on a non-general delta repository. We check that the bundle application was correct.
339
340 $ hg init \
341 > --config format.usegeneraldelta=no \
342 > --config format.sparse-revlog=no \
343 > local-forced-full-p1-no-gd
344 $ hg debugformat -R local-forced-full-p1-no-gd | grep generaldelta
345 generaldelta: no
346 $ hg -R local-forced-full-p1-no-gd pull --quiet local-pre-pull-full \
347 > --config debug.revlog.debug-delta=no
348 $ hg -R local-forced-full-p1-no-gd pull --quiet \
349 > --config 'paths.*:pulled-delta-reuse-policy=forced' all-p1.hg
350 DBG-DELTAS: CHANGELOG: * (glob)
351 DBG-DELTAS: CHANGELOG: * (glob)
352 DBG-DELTAS: MANIFESTLOG: * (glob)
353 DBG-DELTAS: MANIFESTLOG: * (glob)
354 DBG-DELTAS: FILELOG:my-file.txt: rev=3: delta-base=0 * - search-rounds=1 try-count=1 * (glob)
355 DBG-DELTAS: FILELOG:my-file.txt: rev=4: delta-base=4 * - search-rounds=1 try-count=1 * (glob)
356 $ hg -R local-forced-full-p1-no-gd verify
357 checking changesets
358 checking manifests
359 crosschecking files in changesets and manifests
360 checking files
361 checking dirstate
362 checked 5 changesets with 5 changes to 1 files
General Comments 0
You need to be logged in to leave comments. Login now