D5057: test-bookmarks-pushpull: use correct tmp dir for no-bm-move.sh

mbthomas (Mark Thomas) phabricator at mercurial-scm.org
Sat Oct 13 09:23:25 UTC 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG58d785679e15: test-bookmarks-pushpull: use correct tmp dir for no-bm-move.sh (authored by mbthomas, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D5057?vs=12014&id=12016

REVISION DETAIL
  https://phab.mercurial-scm.org/D5057

AFFECTED FILES
  tests/test-bookmarks-pushpull.t

CHANGE DETAILS

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
@@ -1231,13 +1231,13 @@
 
 Forbid bookmark move on the server
 
-  $ cat << EOF >> $TESTDIR/no-bm-move.sh
+  $ cat << EOF >> $TESTTMP/no-bm-move.sh
   > #!/bin/sh
   > echo \$HG_NAMESPACE | grep -v bookmarks
   > EOF
   $ cat << EOF >> server/.hg/hgrc
   > [hooks]
-  > prepushkey.no-bm-move= sh $TESTDIR/no-bm-move.sh
+  > prepushkey.no-bm-move= sh $TESTTMP/no-bm-move.sh
   > EOF
 
 pushing changeset is okay



To: mbthomas, #hg-reviewers, pulkit
Cc: mercurial-devel


More information about the Mercurial-devel mailing list