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