tests/test-incoming-outgoing
changeset 10398 ace3cf2bc991
parent 10154 d4a62b6d4a58
equal deleted inserted replaced
10397:8cb81d75730c 10398:ace3cf2bc991
    12 cat hg.pid >> $DAEMON_PIDS
    12 cat hg.pid >> $DAEMON_PIDS
    13 cd ..
    13 cd ..
    14 
    14 
    15 hg init new
    15 hg init new
    16 # http incoming
    16 # http incoming
    17 hg -R new incoming http://localhost:$HGPORT/ | sed -e 's,:[0-9][0-9]*/,/,'
    17 hg -R new incoming http://localhost:$HGPORT/ | sed -e "s,:$HGPORT/,:\$HGPORT/,"
    18 hg -R new incoming -r 4 http://localhost:$HGPORT/ | sed -e 's,:[0-9][0-9]*/,/,'
    18 hg -R new incoming -r 4 http://localhost:$HGPORT/ | sed -e "s,:$HGPORT/,:\$HGPORT/,"
    19 # local incoming
    19 # local incoming
    20 hg -R new incoming test
    20 hg -R new incoming test
    21 hg -R new incoming -r 4 test
    21 hg -R new incoming -r 4 test
    22 echo "% limit to 2 changesets"
    22 echo "% limit to 2 changesets"
    23 hg -R new incoming -l 2 test
    23 hg -R new incoming -l 2 test
    24 echo "% limit to 2 changesets, test with -p --git"
    24 echo "% limit to 2 changesets, test with -p --git"
    25 hg -R new incoming -l 2 -p --git test
    25 hg -R new incoming -l 2 -p --git test
    26 
    26 
    27 # test with --bundle
    27 # test with --bundle
    28 hg -R new incoming --bundle test.hg http://localhost:$HGPORT/ | sed -e 's,:[0-9][0-9]*/,/,'
    28 hg -R new incoming --bundle test.hg http://localhost:$HGPORT/ | sed -e "s,:$HGPORT/,:\$HGPORT/,"
    29 hg -R new incoming --bundle test2.hg test
    29 hg -R new incoming --bundle test2.hg test
    30 
    30 
    31 # test the resulting bundles
    31 # test the resulting bundles
    32 hg init temp
    32 hg init temp
    33 hg init temp2
    33 hg init temp2
    48 hg verify
    48 hg verify
    49 cd ..
    49 cd ..
    50 hg -R test-dev outgoing test
    50 hg -R test-dev outgoing test
    51 echo "% limit to 3 changesets"
    51 echo "% limit to 3 changesets"
    52 hg -R test-dev outgoing -l 3 test
    52 hg -R test-dev outgoing -l 3 test
    53 hg -R test-dev outgoing http://localhost:$HGPORT/ | sed -e 's,:[0-9][0-9]*/,/,'
    53 hg -R test-dev outgoing http://localhost:$HGPORT/ | sed -e "s,:$HGPORT/,:\$HGPORT/,"
    54 hg -R test-dev outgoing -r 11 http://localhost:$HGPORT/ | sed -e 's,:[0-9][0-9]*/,/,'
    54 hg -R test-dev outgoing -r 11 http://localhost:$HGPORT/ | sed -e "s,:$HGPORT/,:\$HGPORT/,"