Ignoring a proxy with bzr on Windows
Alexander Belchenko
bialix at ukr.net
Wed Feb 18 13:50:35 GMT 2009
Lionel Dricot пишет:
> On Wed, Feb 18, 2009 at 12:02 PM, Alexander Belchenko <bialix at ukr.net
> <mailto: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)
Yep.
> Should I enable it in some way ?
It will be auto loaded automatically.
>
> Thanks a lot,
>
> Lionel
>
More information about the bazaar
mailing list