[MERGE] Add a 'nosmart+' transport decorator.
Matt Nordhoff
mnordhoff at mattnordhoff.com
Wed Apr 2 11:41:46 BST 2008
Andrew Bennetts wrote:
> (This is related to bug 207558.)
>
> Now that bzr.dev automatically probes for a smart server on plain HTTP URLs,
> it's occasionally useful to be able to disable the probing and force bzr to use
> plain HTTP (for instance for debugging, benchmarking, or simply to workaround a
> misconfigured smart server). This patch achieves this by adding a 'nosmart+'
> transport decorator. So you could do e.g.:
>
> bzr branch nosmart+http://bazaar.launchpad.net/~bzr/bzr/trunk
>
> Essentially, this decorator gives the bzr 1.3 behaviour for http:// URLs.
>
> I was originally going to make the automatic probing off by default, at least
> for a release, but Robert convinced me that that's not worth doing. So instead,
> here's a way to opt-out of the automatic probing, rather than opt-in.
>
> I'm not sure that "nosmart" is the best possible prefix for this, but "nobzr"
> somehow didn't feel right. Comments welcome.
>
> -Andrew.
What about "dumb"?
Also, hg uses "http" for its HTTP smart server and "static-http" for the
dumb server.
--
More information about the bazaar
mailing list