# HG changeset patch # User Patrick Mezard # Date 1344007590 -7200 # Node ID 3d1b64bc81501ce6362452ceac03fd664386f1a1 # Parent 507e8f94b26a81e5ffaeda9ca6681455f54cc673 test-convert-mtn.t: use #if to set mtndir to the correct value Monotone store directory name is not the same on Windows and Unix. diff -r 507e8f94b26a -r 3d1b64bc8150 tests/test-convert-mtn.t --- a/tests/test-convert-mtn.t Fri Aug 03 17:56:34 2012 +0200 +++ b/tests/test-convert-mtn.t Fri Aug 03 17:26:30 2012 +0200 @@ -2,9 +2,18 @@ $ "$TESTDIR/hghave" mtn || exit 80 Monotone directory is called .monotone on *nix and monotone -on Windows. Having a variable here ease test patching. +on Windows. + +#if windows + + $ mtndir=monotone + +#else $ mtndir=.monotone + +#endif + $ echo "[extensions]" >> $HGRCPATH $ echo "convert=" >> $HGRCPATH $ echo 'graphlog =' >> $HGRCPATH