Creating webrev under Windows/cygwin fails

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Fri Nov 21 17:42:14 UTC 2014


On 2014-11-15 17:58, Patrick Reinhart wrote:
> Hi Daniel,
>
> As you correctly pointed out the actual value returned by "hg root" is indeed "c:/dev/jdk8u-dev".
>
> Sorry, this might be a bit of a dumb question, but how can I actually change that?

This indicates that you have used another "hg" binary than the one 
provided by cygwin, e.g. from TortoiseHG. This is not recommended, and 
will in general fail in weird ways like this.

I recommend that you install mercurial from cygwin, and run hg clone 
with that instead. You can verify that your hg is correct by "which hg", 
it should be "/usr/bin/hg" or "/bin/hg", not a /cygdrive/c/... path. 
(Otherwise the order of cygwin binaries in the PATH is incorrect). Do 
not re-use the old repo cloned by the other hg.

/Magnus



More information about the webrev-dev mailing list