On Wed, Feb 18, 2009 at 12:02 PM, Alexander Belchenko <span dir="ltr"><<a href="mailto:bialix@ukr.net">bialix@ukr.net</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Lionel Dricot пишет:<div class="Ih2E3d"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Currently, I've found the workaround of setting the http_proxy value to the adresse of my bzr repository.<br>
<br>
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.<br>
<br>
So where can I put that variable ?<br>
</blockquote>
<br></div>
In theory you can put it in a simple plugin, e.g.:<br>
<br>
------proxy_plugin.py---------------<br>
import os<br>
os.environ['HTTP_PROXY'] = 'xxx'<br>
------------------------------------<br>
<br>
Put your settings instead of xxx.<br>
I don't have problems with proxies, so I can't test it.</blockquote><div><br>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)<br>
<br>Should I enable it in some way ? <br><br>Thanks a lot,<br><br>Lionel<br></div></div><br>