On 09/03/18 07:25, Thomas Stüfe wrote:
Hi guys,

this is still not resolved. I am still unable to do hg defpath -du
<user> on jdk-submit:

thomas@mainframe /shared/projects/openjdk/jdk-submit/source $ hg
defpath -du stuefe
abort: http://hg.openjdk.java.net/jdk/submit: Repository not found
No hgrc files updated

Is defpath not supported anymore?

It is in the code-tools project, so it is supported by the community.
  http://openjdk.java.net/projects/code-tools/

I got as far as reproducing the problem you reported. I spent time looking at strace and tcpdump packet traces, but did not reach any conclusions. What is most puzzling is that two other mercurial repos work fine with defpath.py:

Results of creating fresh clones and running 'hg defpath -du tbell':

works: http://hg.openjdk.java.net/jdk/sandbox
works: http://hg.openjdk.java.net/jdk/submit11
fails: http://hg.openjdk.java.net/jdk/submit

I am heading out today to catch a flight for vacation. Until I return on the 12'th I am going to have to suggest you take the workaround of editing your jdk/submit/.hg/hgrc file by hand. It pains me to say this, but I don't have a better solution today.

For jdk/submit, you want the paths section of your .hg/hgrc file to look like this, with your OpenJDK username in place of mine ('tbell'):

[paths]
default = http://hg.openjdk.java.net/jdk/submit
default-push = ssh://[email protected]/jdk/submit


Tim


Thank you,

Best Regards, Thomas


On Wed, Aug 29, 2018 at 8:49 AM, Thomas Stüfe <[email protected]> wrote:
Adding the push path manually to hgrc works fine, so I use that as a workaround.

Thanks, Thomas

On Wed, Aug 29, 2018 at 8:01 AM, Thomas Stüfe <[email protected]> wrote:
Thank you Tim. Happy to know it is not my setup. Lets see what ops says.

Best, Thomas

On Wed, Aug 29, 2018 at 1:58 AM, Tim Bell <[email protected]> wrote:
Thomas:

when trying to run hg defpath to set the paths to the jdk12 submit
repo (http://hg.openjdk.java.net/jdk/submit), it fails:

thomas@t450:/shared/projects/openjdk/jdk-submit/source$ hg defpath -du
stuefe
abort: http://hg.openjdk.java.net/jdk/submit: Repository not found
No hgrc files updated


Adding the ops list <[email protected]> in case others have seen this.

But it works for the submit repo for jdk11
(http://hg.openjdk.java.net/jdk/submit11/), and there it updates the
.hg/hgrc just fine.


FWIW, I see the same thing.  I don't have an explanation yet.

I created fresh clones and then tried 'hg defpath -du tbell':

works: http://hg.openjdk.java.net/jdk/sandbox
works: http://hg.openjdk.java.net/jdk/submit11
fails: http://hg.openjdk.java.net/jdk/submit

Not sure what the problem is. Both URLs are reachable fine in a browser.

Any ideas?


I am stumped at the moment, but I will keep digging.

Tim


Reply via email to