Browsing Bazaar

A. S. Budden abudden at gmail.com
Thu Jan 29 21:37:03 GMT 2009


2009/1/22 A. S. Budden <abudden at gmail.com>:
> 2009/1/22 Gary van der Merwe <garyvdm at gmail.com>:
>> On Thu, Jan 22, 2009 at 8:52 PM, A. S. Budden <abudden at gmail.com> wrote:
>>> Also, if I use "bzr ls" on bzr://servername/applications/vim/vimfiles,
>>> I get a (rather unmanageable) recursive file listing.  If I add the
>>> --non-recursive option, I get nothing at all.  I can get round this
>>> with something like:
>>>
>>> bzr ls  bzr://localhost/applications/vim/vimfiles/  | grep
>>> 'bzr://localhost/applications/vim/vimfiles/[^/]*/\?$'
>>>
>>> but surely this shouldn't be necessary?!  It also doesn't distinguish
>>> files and directories (no '/' on the end of directories).  I realise
>>> that it can be done with the apache server option or by connecting to
>>> the server with ssh/sftp and browsing the file system, but this seems
>>> a little indirect and it is strange that the server has an 'ls'
>>> command but doesn't really support browsing.  Am I missing something?
>>
>> May I interest you in a GUI option. qbzr has the command qbrowse.
>
> Thanks, I'll have a look at this!

It looks promising as a GUI, but seems to suffer from the same problem
as bzr ls: it doesn't allow me to browse the repository, only the
branches within that repository.  With my (test) repository, I can do:

bzr ls bzr+ssh://servername/bzr/applications/vim/vimfiles

but not:

bzr+ssh://servername/bzr/

or

bzr+ssh://servername/bzr/applications


Also, I have now upgraded to version 1.11 of bazaar, but although the
directories now end with a forward slash, the non-recursive option
still results in no output at all.  I've tried creating the
no-working-trees file in the .bzr/repository, but this makes no
noticeable difference.

>
>> Matt Nordhoff wrote:
>>> The bzrtools plugin adds a "bzr branches" command which does what you
>>> want and can work on remote locations. However, it isn't fast, since the
>>> client walks the file system one directory at a time over the Internet
>>> (though the code is designed to make it easy to do it server-side in the
>> < future).
>>
>> If you are using the --no-trees option on your servers repo, this will
>> be allright.

I'll have a look at that once I've managed to get bzrtools to install
alongside bzr 1.11.

Many thanks.

Al



More information about the bazaar mailing list