tests/test-bookmarks-pushpull.t
branchstable
changeset 35815 b5df7fcf5d80
parent 35811 e35320ce8043
child 36789 09b58af83d44
equal deleted inserted replaced
35814:92b7039613d0 35815:b5df7fcf5d80
  1200   updating to branch default
  1200   updating to branch default
  1201   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
  1201   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
  1202 
  1202 
  1203 Forbid bookmark move on the server
  1203 Forbid bookmark move on the server
  1204 
  1204 
       
  1205   $ cat << EOF >> $TESTDIR/no-bm-move.sh
       
  1206   > #!/bin/sh
       
  1207   > echo \$HG_NAMESPACE | grep -v bookmarks
       
  1208   > EOF
  1205   $ cat << EOF >> server/.hg/hgrc
  1209   $ cat << EOF >> server/.hg/hgrc
  1206   > [hooks]
  1210   > [hooks]
  1207   > prepushkey.no-bm-move= echo \$HG_NAMESPACE | grep -v bookmarks
  1211   > prepushkey.no-bm-move= sh $TESTDIR/no-bm-move.sh
  1208   > EOF
  1212   > EOF
  1209 
  1213 
  1210 pushing changeset is okay
  1214 pushing changeset is okay
  1211 
  1215 
  1212   $ echo bar >> client/a
  1216   $ echo bar >> client/a