webrev.ksh on Ubuntu 12.04
Mike Duigou
mike.duigou at oracle.com
Wed Nov 20 15:39:05 PST 2013
> + hg outgoing -q --template '{rev}\n' default '='
> ssh://jtc-hg.hursley.ibm.com//home/hg/jtchg-ibm-adm/composite/80/jcl/head
> + sort -n
> hg outgoing: invalid arguments
This implies to me that OUTPWS is set to "default = ssh://jtc-hg.hursley.ibm.com//home/hg/jtchg-ibm-adm/composite/80/jcl/head" which is probably happening as a result of an empty $OUTPWS being passed to:
hg path $OUTPWS 2>/dev/null | $FILTER
Can you capture the script output for this portion of the execution?
Mike
> As you can see, the prefix isn't stripped off before being passed on to
> the hg outgoing command - hence my posited 'fix', if it is actually a
> defect.
>
> Rgds ,
>
> On Thu, 2013-11-14 at 13:54 +0100, Volker Simonis wrote:
>> That's strange.
>>
>> I'm using the latest webrev.ksh from jdk8/make/scripts/webrev.ksh with
>> Mercurial 2.0.2 (which I tihnk is the default on Ubuntu 12.04) on
>> Ubuntu 12.04 without any problems. My .hg/hgrc files look as follows:
>>
>> [paths]
>> default = http://hg.openjdk.java.net/ppc-aix-port/stage/jdk
>>
>> Did you compile/install Mercurial V2.7.2 yourself? Maybe you could try
>> with the default Ubuntu Mercurial package?
>>
>> You could also try to hack the webrev.ksh script to print what's going
>> wrong. You could just print the arguments for the line:
>>
>> ALL_CREV=`hg outgoing -q --template '{rev}\n' $OUTPWS | sort -n`
>>
>> which seems to cause problems on your site. Maybe Anthony is right and
>> your OUTPWS is somehow miss-detected.
>>
>> Regards,
>> Volker
> <snip>
>
> --
> Dave Pointon FIAP MBCS
>
> Now I saw, tho' too late, the folly of beginning a work before we count
> the cost and before we we judge rightly of our strength to go thro' with
> it - Robinson Crusoe
>
More information about the jdk8-dev
mailing list