solaris test-alias failure because of $PWD

Alexander Solovyov piranha at piranha.org.ua
Sun May 2 05:05:02 CDT 2010


On 2010-05-01, Mads Kiilerich wrote:

> +put = export -r 0 -o "\$PWD/%R.diff"

...

> http://mercurial.selenic.com/wiki/WritingTests says
>     don't use $PWD; use `pwd` instead.

> One reason for that is that it doesn't work on solaris.

Ehm, sorry for that. We can't use `pwd` here, because path expanding will
not run any command, but we can probably make it work by doing this:

PWD=`pwd` hg put

Is this enough to fix problem on Solaris?

-- 
Alexander


More information about the Mercurial-devel mailing list