[PATCH] test-bookmarks-pushpull: stabilize for Windows

Matt Harbison mharbison72 at gmail.com
Wed Jan 31 23:30:02 EST 2018


# HG changeset patch
# User Matt Harbison <matt_harbison at yahoo.com>
# Date 1517457704 18000
#      Wed Jan 31 23:01:44 2018 -0500
# Branch stable
# Node ID 844666bf1f9e995e47f38a72fd7ad69a83601628
# Parent  1cb013a6f74e22a1867962bdd9a810c787dd4944
test-bookmarks-pushpull: stabilize for Windows

diff --git a/tests/test-bookmarks-pushpull.t b/tests/test-bookmarks-pushpull.t
--- a/tests/test-bookmarks-pushpull.t
+++ b/tests/test-bookmarks-pushpull.t
@@ -1202,9 +1202,13 @@
 
 Forbid bookmark move on the server
 
+  $ cat << EOF >> $TESTDIR/no-bm-move.sh
+  > #!/bin/sh
+  > echo \$HG_NAMESPACE | grep -v bookmarks
+  > EOF
   $ cat << EOF >> server/.hg/hgrc
   > [hooks]
-  > prepushkey.no-bm-move= echo \$HG_NAMESPACE | grep -v bookmarks
+  > prepushkey.no-bm-move= sh $TESTDIR/no-bm-move.sh
   > EOF
 
 pushing changeset is okay


More information about the Mercurial-devel mailing list