Show More
@@ -211,12 +211,14 b' Create a few commits with flat manifest' | |||
|
211 | 211 | (branch merge, don't forget to commit) |
|
212 | 212 | $ hg ci -m 'merge of flat manifests to new flat manifest' |
|
213 | 213 | |
|
214 | $ hg serve -p $HGPORT -d --pid-file=hg.pid --errorlog=errors.log | |
|
215 | $ cat hg.pid >> $DAEMON_PIDS | |
|
214 | $ cd .. | |
|
215 | $ hg -R repo-flat serve -p $HGPORT -d \ | |
|
216 | > --pid-file=port-0-hg.pid \ | |
|
217 | > --errorlog=port-0-errors.log | |
|
218 | $ cat port-0-hg.pid >> $DAEMON_PIDS | |
|
216 | 219 | |
|
217 | 220 | Create clone with tree manifests enabled |
|
218 | 221 | |
|
219 | $ cd .. | |
|
220 | 222 | $ hg clone --config experimental.treemanifest=1 \ |
|
221 | 223 | > http://localhost:$HGPORT repo-mixed -r 1 |
|
222 | 224 | adding changesets |
@@ -226,6 +228,7 b' Create clone with tree manifests enabled' | |||
|
226 | 228 | new changesets 5b02a3e8db7e:581ef6037d8b |
|
227 | 229 | updating to branch default |
|
228 | 230 | 11 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
231 | $ cat port-0-errors.log | |
|
229 | 232 | $ cd repo-mixed |
|
230 | 233 | $ test -d .hg/store/meta |
|
231 | 234 | [1] |
@@ -654,9 +657,12 b' Verify reports missing dirlog entry' | |||
|
654 | 657 | $ cp -R .hg/store-newcopy/. .hg/store |
|
655 | 658 | |
|
656 | 659 | Test cloning a treemanifest repo over http. |
|
657 | $ hg serve -p $HGPORT -d --pid-file=hg.pid --errorlog=errors.log | |
|
658 | $ cat hg.pid >> $DAEMON_PIDS | |
|
659 | 660 | $ cd .. |
|
661 | $ hg -R deeprepo serve -p $HGPORT -d \ | |
|
662 | > --pid-file=port-0-hg.pid \ | |
|
663 | > --errorlog=port-0-errors.log | |
|
664 | $ cat port-0-hg.pid >> $DAEMON_PIDS | |
|
665 | ||
|
660 | 666 | We can clone even with the knob turned off and we'll get a treemanifest repo. |
|
661 | 667 | $ hg clone --config experimental.treemanifest=False \ |
|
662 | 668 | > --config experimental.changegroup3=True \ |
@@ -670,7 +676,8 b' We can clone even with the knob turned o' | |||
|
670 | 676 | updating to branch default |
|
671 | 677 | 8 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
672 | 678 | No server errors. |
|
673 |
$ cat |
|
|
679 | $ cat port-0-errors.log | |
|
680 | ||
|
674 | 681 | requires got updated to include treemanifest |
|
675 | 682 | $ hg debugrequires -R deepclone | grep treemanifest |
|
676 | 683 | treemanifest |
@@ -713,12 +720,13 b' Create clones using old repo formats to ' | |||
|
713 | 720 | new changesets 775704be6f52:523e5c631710 |
|
714 | 721 | updating to branch default |
|
715 | 722 | 8 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
716 | $ cd deeprepo-basicstore | |
|
717 | $ hg debugrequires | grep store | |
|
723 | $ hg -R deeprepo-basicstore debugrequires | grep store | |
|
718 | 724 | [1] |
|
719 | $ hg serve -p $HGPORT1 -d --pid-file=hg.pid --errorlog=errors.log | |
|
720 | $ cat hg.pid >> $DAEMON_PIDS | |
|
721 | $ cd .. | |
|
725 | $ hg -R deeprepo-basicstore serve -p $HGPORT1 -d \ | |
|
726 | > --pid-file=port-1-hg.pid \ | |
|
727 | > --errorlog=port-1-errors.log | |
|
728 | $ cat port-1-hg.pid >> $DAEMON_PIDS | |
|
729 | ||
|
722 | 730 | $ hg clone --config format.usefncache=False \ |
|
723 | 731 | > --config experimental.changegroup3=True \ |
|
724 | 732 | > http://localhost:$HGPORT deeprepo-encodedstore |
@@ -730,12 +738,12 b' Create clones using old repo formats to ' | |||
|
730 | 738 | new changesets 775704be6f52:523e5c631710 |
|
731 | 739 | updating to branch default |
|
732 | 740 | 8 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
733 | $ cd deeprepo-encodedstore | |
|
734 | $ hg debugrequires | grep fncache | |
|
741 | $ hg -R deeprepo-encodedstore debugrequires | grep fncache | |
|
735 | 742 | [1] |
|
736 | $ hg serve -p $HGPORT2 -d --pid-file=hg.pid --errorlog=errors.log | |
|
737 | $ cat hg.pid >> $DAEMON_PIDS | |
|
738 | $ cd .. | |
|
743 | $ hg -R deeprepo-encodedstore serve -p $HGPORT2 -d \ | |
|
744 | > --pid-file=port-2-hg.pid \ | |
|
745 | > --errorlog=port-2-errors.log | |
|
746 | $ cat port-2-hg.pid >> $DAEMON_PIDS | |
|
739 | 747 | |
|
740 | 748 | Local clone with basicstore |
|
741 | 749 | $ hg clone -U deeprepo-basicstore local-clone-basicstore |
@@ -756,6 +764,7 b' Stream clone with basicstore' | |||
|
756 | 764 | 28 files to transfer, * of data (glob) |
|
757 | 765 | transferred * in * seconds (*) (glob) |
|
758 | 766 | $ hg -R stream-clone-basicstore verify -q |
|
767 | $ cat port-1-errors.log | |
|
759 | 768 | |
|
760 | 769 | Stream clone with encodedstore |
|
761 | 770 | $ hg clone --config experimental.changegroup3=True --stream -U \ |
@@ -764,6 +773,7 b' Stream clone with encodedstore' | |||
|
764 | 773 | 28 files to transfer, * of data (glob) |
|
765 | 774 | transferred * in * seconds (*) (glob) |
|
766 | 775 | $ hg -R stream-clone-encodedstore verify -q |
|
776 | $ cat port-2-errors.log | |
|
767 | 777 | |
|
768 | 778 | Stream clone with fncachestore |
|
769 | 779 | $ hg clone --config experimental.changegroup3=True --stream -U \ |
@@ -772,6 +782,7 b' Stream clone with fncachestore' | |||
|
772 | 782 | 22 files to transfer, * of data (glob) |
|
773 | 783 | transferred * in * seconds (*) (glob) |
|
774 | 784 | $ hg -R stream-clone-fncachestore verify -q |
|
785 | $ cat port-0-errors.log | |
|
775 | 786 | |
|
776 | 787 | Packed bundle |
|
777 | 788 | $ hg -R deeprepo debugcreatestreamclonebundle repo-packed.hg |
General Comments 0
You need to be logged in to leave comments.
Login now