Ooh, so there already is a SimpleHttpServer in the Python library that bzr can branch from? That should make it pretty easy for "if request is for .bzr/, have SimpleHttpServer hand lit" , right?<br><br><div><span class="gmail_quote">
On 5/19/06, <b class="gmail_sendername">Michael Ellerman</b> <<a href="mailto:michael@ellerman.id.au">michael@ellerman.id.au</a>> 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 <<a href="mailto:jdong@ubuntu.com">jdong@ubuntu.com</a>> wrote:<br>> It'd be really convenient and awesome if you can branch from a bzr<br>> webserve'd repository. I've ran into situations where a couple developers
<br>> would interconnect with an ad-hoc wifi network and want to be able to<br>> pull/merge/branch from each other, but have no http server. This leaves the<br>> uncomfortable option of setting up temporary SSH accounts.
<br>><br>> With this ability, each developer can just run "bzr webserve", and other<br>> developers can directly branch from this server.<br>><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>