remote-bzr: access branches only when needed
commitd421c02b4144df9b0448e321930ee6a604cdd3fc
authorFelipe Contreras <felipe.contreras@gmail.com>
Wed, 1 May 2013 01:10:10 +0000 (30 20:10 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 May 2013 05:06:47 +0000 (30 22:06 -0700)
tree86df88b0a975eb25b38de2b2eedf4eadbea8b436
parent747c9a377fb73aa30f6b4dca958e3b121f88bb66
remote-bzr: access branches only when needed

Bazaar doesn't seem to be tested for multiple usage of branches, so
resources seem to be leaked all over. Let's try to minimize this by
accessing the Branch objects only when needed.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/remote-helpers/git-remote-bzr