diff tests/test-extdiff @ 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 d77022db1bca
children 49966b5ab16f
line wrap: on
line diff
--- a/tests/test-extdiff
+++ b/tests/test-extdiff
@@ -1,8 +1,7 @@
 #!/bin/sh
 
-HGRCPATH=$HGTMP/.hgrc; export HGRCPATH
-echo "[extensions]" >> $HGTMP/.hgrc
-echo "extdiff=" >> $HGTMP/.hgrc
+echo "[extensions]" >> $HGRCPATH
+echo "extdiff=" >> $HGRCPATH
 
 hg init a
 cd a
@@ -14,9 +13,9 @@ if [ $? -ne 0 ]; then
 fi
 hg extdiff -o -Nr $opt
 
-echo "[extdiff]" >> $HGTMP/.hgrc
-echo "cmd.falabala=echo" >> $HGTMP/.hgrc
-echo "opts.falabala=diffing" >> $HGTMP/.hgrc
+echo "[extdiff]" >> $HGRCPATH
+echo "cmd.falabala=echo" >> $HGRCPATH
+echo "opts.falabala=diffing" >> $HGRCPATH
 
 hg falabala