Ooh, so there already is a SimpleHttpServer in the Python library that bzr can branch from? That should make it pretty easy for &quot;if request is for .bzr/, have SimpleHttpServer hand lit&quot; , right?<br><br><div><span class="gmail_quote">
On 5/19/06, <b class="gmail_sendername">Michael Ellerman</b> &lt;<a href="mailto:michael@ellerman.id.au">michael@ellerman.id.au</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 5/19/06, John Dong &lt;<a href="mailto:jdong@ubuntu.com">jdong@ubuntu.com</a>&gt; wrote:<br>&gt; It'd be really convenient and awesome if you can branch from a bzr<br>&gt; webserve'd repository. I've ran into situations where a couple developers
<br>&gt; would interconnect with an ad-hoc wifi network and want to be able to<br>&gt; pull/merge/branch from each other, but have no http server. This leaves the<br>&gt; uncomfortable option of setting up temporary SSH accounts.
<br>&gt;<br>&gt; With this ability, each developer can just run &quot;bzr webserve&quot;, and other<br>&gt; developers can directly branch from this server.<br>&gt;<br><br>Not as sexy as 'bzr webserve' etc., but ...<br><br>
source# cd path/to/branch<br>or<br>source# cd path/to/repo<br>source# python -c 'import SimpleHTTPServer; SimpleHTTPServer.test()'<br>Serving HTTP on <a href="http://0.0.0.0">0.0.0.0</a> port 8000 ...<br>...<br>dest# bzr branch 
<a href="http://source:8000[/repobranch]">http://source:8000[/repobranch]</a><br><br>cheers<br></blockquote></div><br>