Ignoring a proxy with bzr on Windows

Lionel Dricot zeploum at gmail.com
Wed Feb 18 13:27:57 GMT 2009


On Wed, Feb 18, 2009 at 12:02 PM, Alexander Belchenko <bialix at ukr.net>wrote:

> Lionel Dricot пишет:
>
>> Currently, I've found the workaround of setting the http_proxy value to
>> the adresse of my bzr repository.
>>
>> The only thing I need to figure out is how can I export this http_proxy
>> value when bzr start ?  There's a start_bzr.bat file which seems to be
>> really convenient but it is not used by Tortoisebzr.
>>
>> So where can I put that variable ?
>>
>
> In theory you can put it in a simple plugin, e.g.:
>
> ------proxy_plugin.py---------------
> import os
> os.environ['HTTP_PROXY'] = 'xxx'
> ------------------------------------
>
> Put your settings instead of xxx.
> I don't have problems with proxies, so I can't test it.


Thanks for this suggestion but I don't have real experience with bzr on
Windows. If I understand you correctly, all I would have to do is put a file
: "proxy_plugin.py" in Program Files/bazaar/plugins ? (with of course the
two lines content you mention)

Should I enable it in some way ?

Thanks a lot,

Lionel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20090218/d71acbb9/attachment.htm 


More information about the bazaar mailing list