This isn't so much a bug as a documentation request: I can't figure out if it 
is possible to fetch gsrc using only bzr's http fetching method.

The fine manual for BZR documents the setting of http_proxy and https_proxy to 
instruct BZR to go through a proxy in its fetching.  But there's apparently 
some missing piece of magic to signal BZR differently.

Webpage says do:
$ bzr checkout bzr://bzr.savannah.gnu.org/gsrc/trunk/ gsrc
bzr: ERROR: Connection error: failed to connect to bzr.savannah.gnu.org:4155: 
Connection timed out

OK, that's OK, I have cntlm all working and bzr supports http.
$ echo $http_proxy
http://127.0.0.1:3128/

Test it:
$ wget www.google.com
--2015-04-14 16:18:10--  http://www.google.com/
Connecting to 127.0.0.1:3128... connected.
Proxy request sent, awaiting response... 200 OK
Length: 19958 (19K) [text/html]
Saving to: "index.html"

100%[=====================================================================>] 
19,958      --.-K/s   in 0.08s

2015-04-14 16:18:11 (244 KB/s) - "index.html" saved [19958/19958]


Great, now just try to ask bzr for it:

$ bzr checkout http://bzr.savannah.gnu.org/gsrc/trunk/ gsrc
bzr: ERROR: Not a branch: "http://bzr.savannah.gnu.org/gsrc/trunk/";.

No space?

$ bzr checkout http://bzr.savannah.gnu.org/gsrc/trunk/gsrc
bzr: ERROR: Not a branch: "http://bzr.savannah.gnu.org/gsrc/trunk/gsrc/";.

Googling, suggested "nosmart+', trying it:

$ bzr checkout nosmart+http://bzr.savannah.gnu.org/gsrc/trunk/gsrc
bzr: ERROR: Not a branch: 
"nosmart+http://bzr.savannah.gnu.org/gsrc/trunk/gsrc/";.
$ bzr checkout nosmart+http://bzr.savannah.gnu.org/gsrc/trunk/ gsrc
bzr: ERROR: Not a branch: "nosmart+http://bzr.savannah.gnu.org/gsrc/trunk/";.

Maybe a different name is needed when http accessing?  Does savannah.gnu.org 
not support http access to the BZR repositories?

I realize that this could be considered to be a bzr issue not gsrc issue, but 
all the search results seem to indicate that the above would work fo some 
canonical BZR setup.

Any suggestions very welcome.

Eric


Eric M. Monsler
(650) 316-3718   <--------------------------------------NEW NEW NEW
System Engineer in Modeling and Simulation
E&SS - Engineering
E&IS, N&SS, BDS, The Boeing Company
[email protected]

Reply via email to