This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 126688

Summary: Fetch fails when Proxy needed
Product: versioncontrol Reporter: John Rice <jrice>
Component: MercurialAssignee: issues@versioncontrol <issues>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description John Rice 2008-02-05 10:31:28 UTC
When doing fetch from behind a firewall there is no way to get it to pick up proxy settings. Same is true for Pull/ Push
to Default.

We can use the IDE's system proxy settings for Fetch, Push/Pull to default if they are set. If the command still fails
we could give them the option to setup a proxy for this repository only.

For first cut we will just use the default IDE proxy settings. If people want to have custom proxy settings per
repository they can add an RFE.
Comment 1 John Rice 2008-02-05 15:11:50 UTC
INFO Changesets to push:
comparing with https://jrice:EUsdUjbc@hg.netbeans.org/main
searching for changes
changeset:   65908:a08a3ce6ec7c
tag:         tip
user:        jrice@netbeans.org
date:        Tue Feb 05 15:04:50 2008 +0000
files:       mercurial/src/org/netbeans/modules/mercurial/ui/pull/FetchAction.java
mercurial/src/org/netbeans/modules/mercurial/util/Bundle.properties
mercurial/src/org/netbeans/modules/mercurial/util/HgCommand.java
mercurial/src/org/netbeans/modules/mercurial/util/HgProxySettings.java
mercurial/src/org/netbeans/modules/mercurial/util/HgUtils.java
description:
#126688: Fetch fails when Proxy required - now use IDE Proxy settings for Fetch, Push/ Pull to default
Comment 2 John Rice 2008-02-05 16:00:31 UTC
changeset:   65920:45577e43b12b
user:        jrice@netbeans.org
date:        Tue Feb 05 15:47:17 2008 +0000
files:       mercurial/src/org/netbeans/modules/mercurial/util/HgCommand.java
description:
#126688: Fetch fails when Proxy required - handle null proxy and Show Out error
Comment 3 John Rice 2008-02-05 16:02:20 UTC
Fixes applied to head
Comment 4 John Rice 2008-02-11 09:41:47 UTC
Enhancement - if get failure that may be due to proxy not being set give user option to set it.

changeset:   66765:623ede9e93e4
user:        jrice@netbeans.org
date:        Mon Feb 11 08:56:02 2008 +0000
summary:     #126688: Fetch - Proxy failure, give user option to launch Proxy settings dialog when this failure is detected

Comment 5 John Rice 2008-02-11 17:26:52 UTC
When doing hg out need to handle proxy, also need to check for http proxy when pushing with https.

changeset:   66850:464e2cab7bf5
tag:         tip
user:        jrice@netbeans.org
date:        Mon Feb 11 17:10:07 2008 +0000
summary:     #126688: Fetch - Proxy failure - handle proxy for hg out and also for https when using http proxy