bzrlib and branch discovery

Gabriel Filion lelutin at gmail.com
Sat Aug 7 02:49:37 BST 2010


Hi,

I'm trying my luck on using bzrlib to discover bazaar branches so that I
can interact with them.

In a shared repository setup as in Launchpad-hosted projects, is it
possible to obtain a list of available branches, either using a bzr
command, or by directly calling a function from bzrlib? The particular
information I need is a list of branches and their last revision.

I've tried my luck with the above question this week (with help from
people on IRC), and so far I found that 'd =
BzrDir.open_containing(some_url)' followed by
'd.find_branches(d.root_transport)' would logically get what I wanted.
But it spits out an exception saying that the HTTP transport doesn't
support list_dir().

Is branch discovery possible at all with repositories hosted via http?

-- 
Gabriel Filion



More information about the bazaar mailing list