[PATCH 3 of 3 stable] test-issue2137: don't use $PWD; use `pwd` instead

Mads Kiilerich mads at kiilerich.com
Sat May 1 12:26:39 CDT 2010


# HG changeset patch
# User Mads Kiilerich <mads at kiilerich.com>
# Date 1272734691 -7200
# Branch stable
# Node ID 8480ea9996ea918a20f921664beaa141f71716b8
# Parent  f48b8cdfdfe0853d422990db6f1d8f1d1688f986
test-issue2137: don't use $PWD; use `pwd` instead

This fixes test failure on Solaris, as described on
http://mercurial.selenic.com/wiki/WritingTests

diff --git a/tests/test-issue2137 b/tests/test-issue2137
--- a/tests/test-issue2137
+++ b/tests/test-issue2137
@@ -28,7 +28,7 @@
 
 cat >> $HGRCPATH <<EOF
 [extensions]
-commitwrapper = $PWD/commitwrapper.py
+commitwrapper = `pwd`/commitwrapper.py
 EOF
 
 hg init repo1


More information about the Mercurial-devel mailing list