dpush of lp:~ubuntu-core-dev/anna/ubuntu crashes with NoSuchId exception

Bug #705807 reported by Colin Watson
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar Git Plugin
Fix Released
High
Jelmer Vernooij

Bug Description

I'm trying to construct a git mirror of all the Ubuntu branches of debian-installer packages. The first package I tried to mirror was anna. Here's how to reproduce the failure I saw (I'm using bzr-git tip, otherwise what's currently in natty):

  $ bzr get lp:~ubuntu-core-dev/anna/ubuntu anna
  $ mkdir anna-test.git
  $ cd anna-test.git
  $ git init --bare
  $ cd ../anna
  $ bzr dpush git+ssh://localhost/$HOME/anna-test.git
  bzr: ERROR: The file id "debian/po/xh.po" is not present in the tree <bzrlib.inventory.CHKInventory object at 0x916b9cc>.

(Sorry, I'm sure there's a less insane target I could have given to 'bzr dpush', but I couldn't be bothered to figure it out and I think this should illustrate the problem anyway ...)

I've attached the last entry in ~/.bzr.log.

Tags: dpush foreign

Related branches

Revision history for this message
Colin Watson (cjwatson) wrote :
Revision history for this message
Colin Watson (cjwatson) wrote :

Incidentally, this seems to have pushed a cloneable repository anyway, but I guess some of the objects are going to be missing.

summary: - dpush of lp:~ubuntu-core-dev/anna/ubuntu crashes
+ dpush of lp:~ubuntu-core-dev/anna/ubuntu crashes with NoSuchId exception
Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 705807] [NEW] dpush of lp:~ubuntu-core-dev/anna/ubuntu crashes with NoSuchId exception

Hi Colin,

On Fri, 2011-01-21 at 10:48 +0000, Colin Watson wrote:
> I'm trying to construct a git mirror of all the Ubuntu branches of
> debian-installer packages. The first package I tried to mirror was
> anna. Here's how to reproduce the failure I saw (I'm using bzr-git tip,
> otherwise what's currently in natty):
>
> $ bzr get lp:~ubuntu-core-dev/anna/ubuntu anna
> $ mkdir anna-test.git
> $ cd anna-test.git
> $ git init --bare
> $ cd ../anna
> $ bzr dpush git+ssh://localhost/$HOME/anna-test.git
> bzr: ERROR: The file id "debian/po/xh.po" is not present in the tree <bzrlib.inventory.CHKInventory object at 0x916b9cc>.
>
> (Sorry, I'm sure there's a less insane target I could have given to 'bzr
> dpush', but I couldn't be bothered to figure it out and I think this
> should illustrate the problem anyway ...)
It should be possible to dpush to $HOME/anna-test.git if such a git
repository exists.

I'll try to fix this during the coming week.

  status triaged
  importance high
  tags udd
  assignee jelmer

Cheers,

Jelmer

Jelmer Vernooij (jelmer)
Changed in bzr-git:
assignee: nobody → Jelmer Vernooij (jelmer)
importance: Undecided → High
status: New → Triaged
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

There appars to be something up with the file id rewriter in dpush.

tags: added: dpush
Jelmer Vernooij (jelmer)
tags: added: foreign
Jelmer Vernooij (jelmer)
Changed in bzr-git:
status: Triaged → In Progress
Jelmer Vernooij (jelmer)
Changed in bzr-git:
status: In Progress → Fix Committed
milestone: none → 0.6.0
Jelmer Vernooij (jelmer)
Changed in bzr-git:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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