##// END OF EJS Templates
tests: put test-treemanifest.t on a port diet...
timeless -
r28168:1a943a3a default
parent child Browse files
Show More
@@ -1,3 +1,5 b''
1 #require killdaemons
2
1 $ cat << EOF >> $HGRCPATH
3 $ cat << EOF >> $HGRCPATH
2 > [format]
4 > [format]
3 > usegeneraldelta=yes
5 > usegeneraldelta=yes
@@ -498,14 +500,17 b' Rebuilt fncache includes dirlogs'
498 adding meta/b/foo/apple/bees/00manifest.i
500 adding meta/b/foo/apple/bees/00manifest.i
499 16 items added, 0 removed from fncache
501 16 items added, 0 removed from fncache
500
502
503 Finish first server
504 $ killdaemons.py
505
501 Test cloning a treemanifest repo over http.
506 Test cloning a treemanifest repo over http.
502 $ hg serve -p $HGPORT2 -d --pid-file=hg.pid --errorlog=errors.log
507 $ hg serve -p $HGPORT -d --pid-file=hg.pid --errorlog=errors.log
503 $ cat hg.pid >> $DAEMON_PIDS
508 $ cat hg.pid >> $DAEMON_PIDS
504 $ cd ..
509 $ cd ..
505 We can clone even with the knob turned off and we'll get a treemanifest repo.
510 We can clone even with the knob turned off and we'll get a treemanifest repo.
506 $ hg clone --config experimental.treemanifest=False \
511 $ hg clone --config experimental.treemanifest=False \
507 > --config experimental.changegroup3=True \
512 > --config experimental.changegroup3=True \
508 > http://localhost:$HGPORT2 deepclone
513 > http://localhost:$HGPORT deepclone
509 requesting all changes
514 requesting all changes
510 adding changesets
515 adding changesets
511 adding manifests
516 adding manifests
@@ -550,7 +555,7 b' Verify passes.'
550 Create clones using old repo formats to use in later tests
555 Create clones using old repo formats to use in later tests
551 $ hg clone --config format.usestore=False \
556 $ hg clone --config format.usestore=False \
552 > --config experimental.changegroup3=True \
557 > --config experimental.changegroup3=True \
553 > http://localhost:$HGPORT2 deeprepo-basicstore
558 > http://localhost:$HGPORT deeprepo-basicstore
554 requesting all changes
559 requesting all changes
555 adding changesets
560 adding changesets
556 adding manifests
561 adding manifests
@@ -561,12 +566,12 b' Create clones using old repo formats to '
561 $ cd deeprepo-basicstore
566 $ cd deeprepo-basicstore
562 $ grep store .hg/requires
567 $ grep store .hg/requires
563 [1]
568 [1]
564 $ hg serve -p $HGPORT3 -d --pid-file=hg.pid --errorlog=errors.log
569 $ hg serve -p $HGPORT1 -d --pid-file=hg.pid --errorlog=errors.log
565 $ cat hg.pid >> $DAEMON_PIDS
570 $ cat hg.pid >> $DAEMON_PIDS
566 $ cd ..
571 $ cd ..
567 $ hg clone --config format.usefncache=False \
572 $ hg clone --config format.usefncache=False \
568 > --config experimental.changegroup3=True \
573 > --config experimental.changegroup3=True \
569 > http://localhost:$HGPORT2 deeprepo-encodedstore
574 > http://localhost:$HGPORT deeprepo-encodedstore
570 requesting all changes
575 requesting all changes
571 adding changesets
576 adding changesets
572 adding manifests
577 adding manifests
@@ -577,7 +582,7 b' Create clones using old repo formats to '
577 $ cd deeprepo-encodedstore
582 $ cd deeprepo-encodedstore
578 $ grep fncache .hg/requires
583 $ grep fncache .hg/requires
579 [1]
584 [1]
580 $ hg serve -p $HGPORT4 -d --pid-file=hg.pid --errorlog=errors.log
585 $ hg serve -p $HGPORT2 -d --pid-file=hg.pid --errorlog=errors.log
581 $ cat hg.pid >> $DAEMON_PIDS
586 $ cat hg.pid >> $DAEMON_PIDS
582 $ cd ..
587 $ cd ..
583
588
@@ -610,7 +615,7 b' Local clone with fncachestore'
610
615
611 Stream clone with basicstore
616 Stream clone with basicstore
612 $ hg clone --config experimental.changegroup3=True --uncompressed -U \
617 $ hg clone --config experimental.changegroup3=True --uncompressed -U \
613 > http://localhost:$HGPORT3 stream-clone-basicstore
618 > http://localhost:$HGPORT1 stream-clone-basicstore
614 streaming all changes
619 streaming all changes
615 18 files to transfer, * of data (glob)
620 18 files to transfer, * of data (glob)
616 transferred * in * seconds (*) (glob)
621 transferred * in * seconds (*) (glob)
@@ -625,7 +630,7 b' Stream clone with basicstore'
625
630
626 Stream clone with encodedstore
631 Stream clone with encodedstore
627 $ hg clone --config experimental.changegroup3=True --uncompressed -U \
632 $ hg clone --config experimental.changegroup3=True --uncompressed -U \
628 > http://localhost:$HGPORT4 stream-clone-encodedstore
633 > http://localhost:$HGPORT2 stream-clone-encodedstore
629 streaming all changes
634 streaming all changes
630 18 files to transfer, * of data (glob)
635 18 files to transfer, * of data (glob)
631 transferred * in * seconds (*) (glob)
636 transferred * in * seconds (*) (glob)
@@ -640,7 +645,7 b' Stream clone with encodedstore'
640
645
641 Stream clone with fncachestore
646 Stream clone with fncachestore
642 $ hg clone --config experimental.changegroup3=True --uncompressed -U \
647 $ hg clone --config experimental.changegroup3=True --uncompressed -U \
643 > http://localhost:$HGPORT2 stream-clone-fncachestore
648 > http://localhost:$HGPORT stream-clone-fncachestore
644 streaming all changes
649 streaming all changes
645 18 files to transfer, * of data (glob)
650 18 files to transfer, * of data (glob)
646 transferred * in * seconds (*) (glob)
651 transferred * in * seconds (*) (glob)
General Comments 0
You need to be logged in to leave comments. Login now