Roadmap for Bazaar...

John Arbash Meinel john at arbash-meinel.com
Wed Sep 22 15:23:00 BST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 9/22/2010 9:17 AM, John Szakmeister wrote:
> I meant to send this to the list.
> 
> -John
> 
> On Wed, Sep 22, 2010 at 10:16 AM, John Szakmeister <john at szakmeister.net> wrote:
>> On Tue, Sep 21, 2010 at 5:22 PM, John Arbash Meinel
>> <john at arbash-meinel.com> wrote:
>> [snip]
>>> Did you try "bzr rmbranch bzr+http://..."
>>> it is possible that it is falling back to vfs commands inappropriately.
>>
>> So I tried a few things and here are the results:
>>
>>  * bzr rmbranch https://... just plain fails with:
>>        bzr: ERROR: Not a branch: "https://..."

At present, if you specify "bzr COMMAND http://" and there is a smart
server on the other end, then smart requests go via POST and dumb
requests go via GET etc requests. Which is why you see that plain
"http://" normally works fine, but trying to do something like
"rmbranch" fails. (It is falling back to trying to 'Transport.remove'
only using plain HTTPTransport not the smart transport.

This was also an issue for IIS6, since if you configured the smart
support, plain HTTP GET stopped working. (It seems to work fine for apache.)

The jury is still a bit out about how we *should* handle it. On the one
hand, using GET allows stuff like caching proxies to work. On the other
hand, files that we get that way are probably small (otherwise we would
be doing a smart request), and as you noticed, it prevents us from doing
stuff like "rmbranch".

...

>>  * Performing the same thing locally also resulted in .bzr/branch
>> being removed, but still leaving cruft on the file system.  So at
>> least it's consistent.

That does seem a bit odd. It might have been in Jelmer's mind only for
supporting colocated branches (which may *only* have .bzr/branch). I'm
not entirely sure what to do if there is a repository at a given
location, and/or a working tree.

I would have thought it would delete everything under 'foo/' for
'foo/.bzr/branch'.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyaEUQACgkQJdeBCYSNAAO06gCfZF9RmrAqESiFVzh2mebZf5FD
m5kAnixjK97aavw42Gpcqrsn98teBnw0
=+oxG
-----END PGP SIGNATURE-----



More information about the bazaar mailing list