Cache is too greedy

Bug #407283 reported by Johan Walles
26
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
Triaged
Wishlist
Unassigned

Bug Description

With bzr 1.16.1 and bzr-svn 0.6.3:

Add the following lines to your ~/.bazaar/subversion.conf:
"
[13f79535-47bb-0310-9956-ffa450edef68]
use-cache = False
"

Do: bzr branch http://svn.apache.org/repos/asf/maven/scm/tags/maven-scm-1.2

Notice that bzr wants to branch about 1100 revisions.

Now, remove the lines you added to the config file and try again.

Notice how bzr wants to download info about almost 800,000 revisions.

I would like bzr to only cache revisions it actually has use for.

See also bug 406908.

Tags: usability
Jelmer Vernooij (jelmer)
Changed in bzr-svn:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Johan Walles (walles) wrote :

Added tag "usability" since this is a potential showstopper for new users (like me).

The "use-cache=false" workaround is hard to discover, and shouldn't really be necessary in this case if the cache only contained useful revisions.

tags: added: usability
Revision history for this message
Gabriel Filion (gabriel-filion) wrote :

as noted in bug #519370, this also affects the command "bzr info" in a checkout of an svn repository (non-bzr initiated)

user expectation on a non initiated repository would be to only inform of the possibility of transforming said repository into a bazaar-managed one (and for sake of easy information, giving the right command to do so to the user).

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 407283] Re: Cache is too greedy

On Wed, 2010-02-10 at 14:54 +0000, Gabriel Filion wrote:
> user expectation on a non initiated repository would be to only inform
> of the possibility of transforming said repository into a bazaar-managed
> one (and for sake of easy information, giving the right command to do so
> to the user).
There is no need at all for converting the repository - bzr can work
with it directly. It's just that the cache it uses is a bit too greedy.
If you disable the cache, things should work as expected.

Cheers,

Jelmer

Revision history for this message
Johan Walles (walles) wrote :

Gabriel, note though that turning off the cache can have other bad effects like bug 416249.

You may or may not be hit by something like that, but if you are you know which bug to mark as "This bug affects me" :-).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.