corrupt: attempt to add line-delta non-delta knit

Bug #218115 reported by أحمد المحمودي (Ahmed El-Mahmoudy)
2
Affects Status Importance Assigned to Milestone
Bazaar
Triaged
High
Unassigned

Bug Description

Version: 1.3.1~rc1-0ubuntu1
Release: Hardy

Hello,

  I get this error when I run:

bzr co lp:ubuntume

And I get an empty "ubuntume" folder.

Yet if I run, it works fine without giving any errors:

bzr co lp:ubuntume-artwork

Revision history for this message
أحمد المحمودي (Ahmed El-Mahmoudy) (aelmahmoudy) wrote :
Revision history for this message
John A Meinel (jameinel) wrote :

'ubuntume' is using knits, and you have a local repository in pack format.

For some reason, one of the texts in their 'revisions.knit' is a line-delta, though we never intended them to be delta-ed.

When fetching that into a pack repository, it aborts because packs revision index does not contain a place to store the delta parent.

I haven't been able to figure out how a line-delta is appearing in these knit repositories in the first place, but it has shown up in other locations.

As a workaround, you could:

1) Create a new shared repository in knits format just for this branch
  bzr init-repo --knits --trees ubuntume
  cd ubuntume
  bzr co lp:ubuntume

2) I don't know if you are part of the ubuntume project, but I believe upgrading the branch to --pack-0.92 would fix this as well.
  bzr upgrade --pack-0.92 lp:ubuntume

Changed in bzr:
importance: Undecided → High
status: New → Triaged
Revision history for this message
أحمد المحمودي (Ahmed El-Mahmoudy) (aelmahmoudy) wrote : Re: [Bug 218115] Re: corrupt: attempt to add line-delta non-delta knit

On Wed, Apr 16, 2008 at 01:05:59PM -0000, John A Meinel wrote:
> 'ubuntume' is using knits, and you have a local repository in pack
> format.
Another person working on ubuntume is able to do bzr checkout on
lp:ubuntume .

> 2) I don't know if you are part of the ubuntume project, but I believe
> upgrading the branch to --pack-0.92 would fix this as well.
> bzr upgrade --pack-0.92 lp:ubuntume
I got this error:

bzr: ERROR: The branch format Bazaar-NG meta directory, format 1 is already at the most recent format.

--
 أحمد المحمودي (Ahmed El-Mahmoudy)
  Digital design engineer
  SySDSoft, Inc.
 GPG KeyID: 0x9DCA0B27 (@ subkeys.pgp.net)
 GPG Fingerprint: 087D 3767 8CAC 65B1 8F6C 156E D325 C3C8 9DCA 0B27

Revision history for this message
John A Meinel (jameinel) wrote :

I forgot that you can't upgrade over bzr+ssh, so you need to do:
bzr upgrade sftp://bazaar.launchpad.net/~ubuntume.team/ubuntume/hardy/

Revision history for this message
أحمد المحمودي (Ahmed El-Mahmoudy) (aelmahmoudy) wrote :

That solved my problem, thanks a lot !

On Thu, Apr 24, 2008 at 08:22:58PM -0000, John A Meinel wrote:
> I forgot that you can't upgrade over bzr+ssh, so you need to do:
> bzr upgrade sftp://bazaar.launchpad.net/~ubuntume.team/ubuntume/hardy/
---end quoted text---

--
 أحمد المحمودي (Ahmed El-Mahmoudy)
  Digital design engineer
  SySDSoft, Inc.
 GPG KeyID: 0x9DCA0B27 (@ subkeys.pgp.net)
 GPG Fingerprint: 087D 3767 8CAC 65B1 8F6C 156E D325 C3C8 9DCA 0B27

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.