##// END OF EJS Templates
bundle-tests: operate from outside a repository...
Pierre-Yves David -
r30911:f3c5a8a4 stable
parent child Browse files
Show More
@@ -1024,11 +1024,12 b' bundle1 pull can be disabled for general'
1024 1024
1025 1025 Verify the global server.bundle1 option works
1026 1026
1027 $ cat > .hg/hgrc << EOF
1027 $ cd ..
1028 $ cat > bundle2onlyserver/.hg/hgrc << EOF
1028 1029 > [server]
1029 1030 > bundle1 = false
1030 1031 > EOF
1031 $ hg serve -p $HGPORT -d --pid-file=hg.pid
1032 $ hg -R bundle2onlyserver serve -p $HGPORT -d --pid-file=hg.pid
1032 1033 $ cat hg.pid >> $DAEMON_PIDS
1033 1034 $ hg --config devel.legacy.exchange=bundle1 clone http://localhost:$HGPORT not-bundle2
1034 1035 requesting all changes
@@ -1038,11 +1039,11 b' Verify the global server.bundle1 option '
1038 1039 [255]
1039 1040 $ killdaemons.py
1040 1041
1041 $ cat > .hg/hgrc << EOF
1042 $ cat > bundle2onlyserver/.hg/hgrc << EOF
1042 1043 > [server]
1043 1044 > bundle1gd = false
1044 1045 > EOF
1045 $ hg serve -p $HGPORT -d --pid-file=hg.pid
1046 $ hg -R bundle2onlyserver serve -p $HGPORT -d --pid-file=hg.pid
1046 1047 $ cat hg.pid >> $DAEMON_PIDS
1047 1048
1048 1049 $ hg --config devel.legacy.exchange=bundle1 clone http://localhost:$HGPORT/ not-bundle2
@@ -1054,7 +1055,7 b' Verify the global server.bundle1 option '
1054 1055
1055 1056 $ killdaemons.py
1056 1057
1057 $ cd ../notgdserver
1058 $ cd notgdserver
1058 1059 $ cat > .hg/hgrc << EOF
1059 1060 > [server]
1060 1061 > bundle1gd = false
General Comments 0
You need to be logged in to leave comments. Login now