decent cache format

Bug #520694 reported by Alexandr Litjagin
56
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Bazaar Git Plugin
Triaged
Low
Unassigned
Bazaar Hg Plugin
Triaged
Low
Unassigned
Bazaar Subversion Plugin
Triaged
Low
Unassigned
Breezy
Triaged
Low
Unassigned

Bug Description

bzr-svn needs a new cache format, preferably based on standard bzr data formats. The current formats have some disadvantages:

 * tdb: not available on windows
 * large files
 * sqlite: only one writer
 * extra dependencies
 * hard to pull across from another machine

The data doesn't have to be changed and can be thrown away if there's a reason for it - once the information for one revision is known it won't change.

Tags: git

Related branches

Martin Pool (mbp)
affects: bzr → bzr-svn
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

the iter_inventories() bug has been fixed.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

The first error is a known limitation of the SQLite cache that bzr-svn uses. You can either install python-tdb (not sure if it's available on Windows) or avoid running multiple bzr processes that access the same Subversion repository.

summary: - report on fails of bzr explorer release 2.1.0rc1 with svn repository
+ decent cache format
Changed in bzr-svn:
status: New → Triaged
importance: Undecided → Low
description: updated
Changed in bzr-git:
status: New → Triaged
Changed in bzr-hg:
status: New → Triaged
Changed in bzr-git:
importance: Undecided → Low
Changed in bzr-hg:
importance: Undecided → Low
Revision history for this message
Neurochrom (pcichock) wrote :

Why is the priority "Low"?
This is a show stopper on windows - one cannot even checkout a repository!

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

It's only a problem if you run multiple instances of bzr-svn on the same repository.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

... concurrently.

Revision history for this message
Alexandr Litjagin (alexraynepe196) wrote :

and what i sould do to avoid it?

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

The workaround (until a better cache format is in place) is to install python-tdb. (if you're on Linux) or avoid running multiple bzr processes that use the same Subversion repository concurrently (if you're on Windows).

Revision history for this message
Alexandr Litjagin (alexraynepe196) wrote :

i have instaled tortoisebzr, that is always shows runig and shows context menus an files status in overlay icons, is it alredy one such process?

Jelmer Vernooij (jelmer)
Changed in bzr-git:
status: Triaged → In Progress
assignee: nobody → Jelmer Vernooij (jelmer)
Revision history for this message
Neurochrom (pcichock) wrote : Re: [Bug 520694] Re: decent cache format

On Mon, 22 Mar 2010 21:55:05 +0100, Jelmer Vernooij <email address hidden>
wrote:

> The workaround (until a better cache format is in place) is to install
> python-tdb. (if you're on Linux) or avoid running multiple bzr processes
> that use the same Subversion repository concurrently (if you're on
> Windows).

So there is no way to use it with bzr-explorer?

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

On Sat, Apr 24, 2010 at 03:30:36PM -0000, Neurochrom wrote:
> On Mon, 22 Mar 2010 21:55:05 +0100, Jelmer Vernooij <email address hidden>
> wrote:
> > The workaround (until a better cache format is in place) is to install
> > python-tdb. (if you're on Linux) or avoid running multiple bzr processes
> > that use the same Subversion repository concurrently (if you're on
> > Windows).
> So there is no way to use it with bzr-explorer?
I'm not aware of the way that bzr-explorer works. If it uses multiple
processes that all need to access the subversion repository then it will
indeed not work on Windows in its current form.

Cheers,

Jelmer

Jelmer Vernooij (jelmer)
Changed in bzr-git:
status: In Progress → Triaged
Jelmer Vernooij (jelmer)
Changed in bzr-git:
assignee: Jelmer Vernooij (jelmer) → nobody
Jelmer Vernooij (jelmer)
Changed in brz-git:
importance: Undecided → Low
status: New → Triaged
Jelmer Vernooij (jelmer)
affects: brz-git → brz
tags: added: git
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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