Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 126688 - Fetch fails when Proxy needed
Fetch fails when Proxy needed
Status: RESOLVED FIXED
Product: versioncontrol
Classification: Unclassified
Component: Mercurial
6.x
All All
: P3 (vote)
: 6.x
Assigned To: issues@versioncontrol
issues@versioncontrol
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-02-05 10:31 UTC by John Rice
Modified: 2008-02-11 17:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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



By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo