[PATCH] test-alias: don't use the environment variable PWD
Mads Kiilerich
mads at kiilerich.com
Mon Jun 28 21:17:08 UTC 2010
# HG changeset patch
# User Mads Kiilerich <mads at kiilerich.com>
# Date 1277759771 -7200
# Branch stable
# Node ID e83f08883aab2d2e2133d8a094d62cd1239e93e5
# Parent 51021f4c80b5dcf608626ddc24b21c155df2cae8
test-alias: don't use the environment variable PWD
solaris ...
diff --git a/tests/test-alias b/tests/test-alias
--- a/tests/test-alias
+++ b/tests/test-alias
@@ -13,7 +13,7 @@
shortlog = log --template '{rev} {node|short} | {date|isodate}\n'
dln = lognull --debug
nousage = rollback
-put = export -r 0 -o "\$PWD/%R.diff"
+put = export -r 0 -o "\$FOO/%R.diff"
[defaults]
mylog = -q
@@ -62,5 +62,5 @@
hg dln
echo '% path expanding'
-hg put
+FOO=`pwd` hg put
cat 0.diff
More information about the Mercurial-devel
mailing list