Queries about bzr-svn behaviour

Jelmer Vernooij jelmer at samba.org
Fri Apr 30 11:07:50 BST 2010


Hi Russel,

On Fri, 2010-04-30 at 09:06 +0100, Russel Winder wrote:
> Some observations and queries.  The context is a Bazaar branch stored in
> a shared repository bound to a directory in a Subversion repository.
> 
> Every time I perform an operation that requires access to the Subversion
> repository, bzr-svn undertakes two rounds of "analyzing repository
> layout".  On each occasion it studies 300 of however many revisions
> there are in the Subversion repository.  At first the console display
> looks like: 
> 
> |      8kB     5kB/s | analyzing repository layout 24/19904
> 
> after about 100 revisions it swaps to looking like:
> 
> | analyzing repository layout 256/19904
> 
> The difference is not just the missing information about bandwidth, the
> latter also has a large number of spaces after the revision count. 
This is an artefact in the bzr progress bars. The analysing repository
layout step does not use any bandwidth whatsoever (it just uses the
cache), so I guess bzr is just slow cleaning up the bandwidth usage
indicator.

>  Once
> all 300 revisions have been checked, the display reverts to:
> 
> |      8kB     5kB/s | analyzing repository layout 300/19904
> 
> with no trailing spaces.  Then it does it all again.
> 
> All this checking takes quite a while, is it always needed to be done
> twice?
I suspect the repository layout you have set in your subversion.conf is
incompatible with how you are using the repository. This causes bzr-svn
to analyse the history again to find a new layout that's compatible with
what you're trying to do.

> And why the change of presentation of information?
This hasn't changed recently.

Cheers,

Jelmer



More information about the bazaar mailing list