Show More
@@ -1202,9 +1202,13 b' Test that pre-pushkey compat for bookmar' | |||||
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 |
General Comments 0
You need to be logged in to leave comments.
Login now