diff tests/test-mq @ 2976:61fcd9fac434

Make tests append settings to $HGRCPATH instead of $HGTMP/.hgrc and add documentation for this.
author Thomas Arendsen Hein <thomas@intevation.de>
date Tue, 22 Aug 2006 10:08:42 +0200
parents 1c66aad252f9
children a4374f7331e4
line wrap: on
line diff
--- a/tests/test-mq
+++ b/tests/test-mq
@@ -1,8 +1,7 @@
 #!/bin/sh
 
-HGRCPATH=$HGTMP/.hgrc; export HGRCPATH
-echo "[extensions]" >> $HGTMP/.hgrc
-echo "mq=" >> $HGTMP/.hgrc
+echo "[extensions]" >> $HGRCPATH
+echo "mq=" >> $HGRCPATH
 
 echo % help
 hg help mq
@@ -127,7 +126,7 @@ hg ci -Ama
 hg strip tip 2>&1 | sed 's/\(saving bundle to \).*/\1/'
 hg unbundle .hg/strip-backup/*
 
-cat >>$HGTMP/.hgrc <<EOF
+cat >>$HGRCPATH <<EOF
 [diff]
 git = True
 EOF