equal
deleted
inserted
replaced
371 (revert introduction of secret changeset) |
371 (revert introduction of secret changeset) |
372 |
372 |
373 $ hg -R server phase --draft 'secret()' |
373 $ hg -R server phase --draft 'secret()' |
374 |
374 |
375 Stream clone while repo is changing: |
375 Stream clone while repo is changing: |
|
376 ------------------------------------ |
|
377 |
|
378 We should send a repository in a valid state, ignoring the ongoing transaction. |
376 |
379 |
377 $ mkdir changing |
380 $ mkdir changing |
378 $ cd changing |
381 $ cd changing |
379 |
382 |
380 prepare repo with small and big file to cover both code paths in emitrevlogdata |
383 prepare repo with small and big file to cover both code paths in emitrevlogdata |
|
384 (inlined revlog and non-inlined revlogs). |
381 |
385 |
382 $ hg init repo |
386 $ hg init repo |
383 $ touch repo/f1 |
387 $ touch repo/f1 |
384 $ $TESTDIR/seq.py 50000 > repo/f2 |
388 $ $TESTDIR/seq.py 50000 > repo/f2 |
385 $ hg -R repo ci -Aqm "0" |
389 $ hg -R repo ci -Aqm "0" |
406 $ hg -R repo ci -m "1" --config ui.timeout.warn=-1 |
410 $ hg -R repo ci -m "1" --config ui.timeout.warn=-1 |
407 $ touch $HG_TEST_STREAM_WALKED_FILE_2 |
411 $ touch $HG_TEST_STREAM_WALKED_FILE_2 |
408 $ $RUNTESTDIR/testlib/wait-on-file 10 $HG_TEST_STREAM_WALKED_FILE_3 |
412 $ $RUNTESTDIR/testlib/wait-on-file 10 $HG_TEST_STREAM_WALKED_FILE_3 |
409 $ hg -R clone id |
413 $ hg -R clone id |
410 000000000000 |
414 000000000000 |
|
415 $ hg -R clone verify --quiet |
411 $ cat errors.log |
416 $ cat errors.log |
412 $ cd .. |
417 $ cd .. |
413 |
418 |
414 Stream repository with bookmarks |
419 Stream repository with bookmarks |
415 -------------------------------- |
420 -------------------------------- |