Re: webrev.ksh on Ubuntu 12.04

2013-11-26 Thread Dave Pointon
Hi Mike , On 25/11/13 20:02, Mike Duigou wrote: This result is strange. I would expect that after a clone that the .hg/hgrc would contain at least a default path. Does the file exist? What does it contain? I have a defensive patch for calling hg paths with empty OUTPWS but want to figure ou

Re: webrev.ksh on Ubuntu 12.04

2013-11-25 Thread Mike Duigou
This result is strange. I would expect that after a clone that the .hg/hgrc would contain at least a default path. Does the file exist? What does it contain? I have a defensive patch for calling hg paths with empty OUTPWS but want to figure out if there's another problem to fix here before proc

Re: webrev.ksh on Ubuntu 12.04

2013-11-21 Thread Dave Pointon
Hiya Mike , On Wed, 2013-11-20 at 15:39 -0800, Mike Duigou wrote: > > + 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 "defa

Re: webrev.ksh on Ubuntu 12.04

2013-11-20 Thread Mike Duigou
> + 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/he

Re: webrev.ksh on Ubuntu 12.04

2013-11-15 Thread Dave Pointon
Hi David , On Sat, 2013-11-16 at 03:57 +1000, David Holmes wrote: > Dave, > > What is in your personal ~/.hgrc file? > $ more ~/.hgrc # Generated by TortoiseHg settings dialog [tortoisehg] vdiff = meld editor = gvim tabwidth = 4 autoresolve = True [ui] merge = meld username = dpointo8 [exten

Re: webrev.ksh on Ubuntu 12.04

2013-11-15 Thread David Holmes
Dave, What is in your personal ~/.hgrc file? David On 16/11/2013 3:19 AM, Dave Pointon wrote: On Fri, 2013-11-15 at 20:55 +0400, Anthony Petrov wrote: Hi Dave, Please post the exact and complete output of the script on the console. Also, please post the content of your .hg/hgrc file in the r

Re: webrev.ksh on Ubuntu 12.04

2013-11-15 Thread Anthony Petrov
No, wait. It looks like the webrev for jdk8/jdk8 has been successfully generated, no? Please try opening "/home/dpointo8/work/repos/Mercurial/upstream/webrev" with a web-browser. -- best regards, Anthony On 11/15/2013 09:19 PM, Dave Pointon wrote: On Fri, 2013-11-15 at 20:55 +0400, Anthony Pe

Re: webrev.ksh on Ubuntu 12.04

2013-11-15 Thread Anthony Petrov
What is the output of `hg st` for the second repo (jdk8/jdk8)? -- best regards, Anthony On 11/15/2013 09:19 PM, Dave Pointon wrote: On Fri, 2013-11-15 at 20:55 +0400, Anthony Petrov wrote: Hi Dave, Please post the exact and complete output of the script on the console. Also, please post the c

Re: webrev.ksh on Ubuntu 12.04

2013-11-15 Thread Dave Pointon
On Fri, 2013-11-15 at 20:55 +0400, Anthony Petrov wrote: > Hi Dave, > > Please post the exact and complete output of the script on the console. > Also, please post the content of your .hg/hgrc file in the repo you're > trying to generate a webrev for. > $ ( ksh make/scripts/webrev.ksh 2>&1 | t

Re: webrev.ksh on Ubuntu 12.04

2013-11-15 Thread Anthony Petrov
Hi Dave, Please post the exact and complete output of the script on the console. Also, please post the content of your .hg/hgrc file in the repo you're trying to generate a webrev for. If you clone a new fresh repo from any of the OpenJDK forests, does it also fail to generate a webrev for u

Re: webrev.ksh on Ubuntu 12.04

2013-11-14 Thread Dave Pointon
Hi ya Anthony , > Did you try "our" (unmodified) webrev.ksh script from make/scripts/ of > the top-level repo? Does it still fail for uncommitted changes? > Yep, sorry to be the bearer of bad news, but I'm afraid it does, that's where I got it from to start with :-( Best rgds, -- Dave Poin

Re: webrev.ksh on Ubuntu 12.04

2013-11-14 Thread Anthony Petrov
Did you try "our" (unmodified) webrev.ksh script from make/scripts/ of the top-level repo? Does it still fail for uncommitted changes? -- best regards, Anthony On 11/15/2013 12:50 AM, Dave Pointon wrote: Hi Anthony , On Thu, 2013-11-14 at 22:55 +0400, Anthony Petrov wrote: I never commit my

Re: webrev.ksh on Ubuntu 12.04

2013-11-14 Thread Dave Pointon
Hi Anthony , On Thu, 2013-11-14 at 22:55 +0400, Anthony Petrov wrote: > I never commit my changes when generating a webrev, and I've never had a > problem with that (for many years, that is). Yes, it issues a warning, > but the rest of the script works fine. How exactly does it give up in > you

Re: webrev.ksh on Ubuntu 12.04

2013-11-14 Thread Anthony Petrov
I never commit my changes when generating a webrev, and I've never had a problem with that (for many years, that is). Yes, it issues a warning, but the rest of the script works fine. How exactly does it give up in your case? PS. Please use Reply-All instead of Reply when replying to mailing li

Re: webrev.ksh on Ubuntu 12.04

2013-11-14 Thread Dave Pointon
Hiya Volker , I have latest webrev.ksh with 2.7.2 as delivered via update deb i.e. not self-built. Even better than using print, using ksh -x make/scripts/webrev.ksh reveals the following ... . . hg path + 2> /dev/null + cat + tmp='default = ssh://jtc-hg.hursley.ibm.com//home/hg/jtchg-ibm-adm/co

Re: webrev.ksh on Ubuntu 12.04

2013-11-14 Thread Volker Simonis
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 y

Re: webrev.ksh on Ubuntu 12.04

2013-11-14 Thread Dave Pointon
Hi Volker , On Thu, 2013-11-14 at 10:12 +0100, Volker Simonis wrote: > Does "hg outgoing"/"hg incoming" work? > > This doesn't seem to be webrev.ksh problem. > Yep, when run mandraulically, hg outgoing works fine and shows the expected one change in the repo. Rgds , -- Dave Pointon FIAP MBC

Re: webrev.ksh on Ubuntu 12.04

2013-11-14 Thread Dmitry Samersoff
Dave, Try webrev -N - compare against local repository. -Dmitry On 2013-11-14 00:23, Dave Pointon wrote: > Hi all , > > Can anyone tell me if they've experienced any problems with webrev.ksh > running on Ubuntu 12.04 with Mercurial V2.7.2. > > Although I _have_ a committed change, I see th

Re: webrev.ksh on Ubuntu 12.04

2013-11-14 Thread Volker Simonis
Does "hg outgoing"/"hg incoming" work? This doesn't seem to be webrev.ksh problem. On Wed, Nov 13, 2013 at 10:36 PM, Anthony Petrov wrote: > Hi Dave, > > The .hg/hgrc in your repo seems to have an incorrect default-push path. > Here's mine for example: > > [paths] > default = http://hg.openjdk.j

Re: webrev.ksh on Ubuntu 12.04

2013-11-13 Thread Anthony Petrov
Hi Dave, The .hg/hgrc in your repo seems to have an incorrect default-push path. Here's mine for example: [paths] default = http://hg.openjdk.java.net/jdk8/awt/jdk default-push = ssh://anth...@hg.openjdk.java.net/jdk8/awt-gate/jdk Your hgrc should look somewhat similar (just replace the user