Creating webrev under Windows/cygwin fails

Daniel Fuchs daniel.fuchs at oracle.com
Sat Nov 15 14:02:56 UTC 2014


Hi,

I will make a guess that the root cause is a mix between
cygwin paths & windows paths:

     Workspace: C:/dev/jdk8u-dev
     Output to: /cygdrive/c/dev/webrev

I would suggest trying to get 'hg root' return

       /cygdrive/c/dev/webrev

and see if that fixes the issue.
It's just a guess however.

best regards,

-- daniel

On 11/14/14 11:12 PM, Patrick Reinhart wrote:
> Hi there,
>
> Has anyone some tips to create a webrev under Windows? In my case the creation fails using the following command (in the JDK root directory)
>
> mksh  make/scripts/webrev.ksh -o /cygdrive/c/dev
>
> The following output is produced:
>
>   SCM detected: mercurial
>
> No outgoing, perhaps you haven't commited.
>      Workspace: C:/dev/jdk8u-dev
> Compare against: http://hg.openjdk.java.net/jdk8u/jdk8u-dev/
>      Output to: /cygdrive/c/dev/webrev
>   Output Files:
> make/scripts/webrev.ksh[2471]: cd: /cygdrive/c/dev/jdk8u-dev/C:/dev/jdk8u-dev/common/autoconf: No such file or                               directory
> abort: cannot follow file not in parent revision: "generated-configure.sh"
>        common/autoconf/generated-configure.sh
>                make/scripts/webrev.ksh[2471]: cd: /cygdrive/c/dev/jdk8u-dev/C:/dev/jdk8u-dev/common/autoconf:                               No such file or directory
> *** Error: file not in parent or child
>
> Seem as the base directory is taken somehow twice. Did I something wrong here? The same command under Linux does work without any problems,,,
>
> Patrick



More information about the webrev-dev mailing list