[REQUEST] bzr-webserve: ability to branch from webserve plugin's http server

John Dong jdong at ubuntu.com
Fri May 19 16:56:25 BST 2006


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?

On 5/19/06, Michael Ellerman <michael at ellerman.id.au> wrote:
>
> On 5/19/06, John Dong <jdong at ubuntu.com> wrote:
> > It'd be really convenient and awesome if you can branch from a bzr
> > webserve'd repository. I've ran into situations where a couple
> developers
> > would interconnect with an ad-hoc wifi network and want to be able to
> > pull/merge/branch from each other, but have no http server. This leaves
> the
> > uncomfortable option of setting up temporary SSH accounts.
> >
> > With this ability, each developer can just run "bzr webserve", and other
> > developers can directly branch from this server.
> >
>
> Not as sexy as 'bzr webserve' etc., but ...
>
> source# cd path/to/branch
> or
> source# cd path/to/repo
> source# python -c 'import SimpleHTTPServer; SimpleHTTPServer.test()'
> Serving HTTP on 0.0.0.0 port 8000 ...
> ...
> dest# bzr branch http://source:8000[/repobranch]
>
> cheers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20060519/615b02de/attachment.htm 


More information about the bazaar mailing list