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