Comment 1 for bug 334955

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 334955] [NEW] Error: Newly created pack file has delta references to items not in its repository

On Thu, 2009-02-26 at 15:43 +0000, Peter Bienstman wrote:
> Public bug reported:
>
> I get the following error when checking out an svn repository and then
> subsequently pushing it to a fresh location in launchpad.
>
> Also, I was wondering if the time required for the checkout (more than
> 20 minutes) is normal
This seems mainly caused by the server side, the sf.net repository isn't
exactly the fastest in the world.

> > time bzr co https://mnemosyne-proj.svn.sourceforge.net/svnroot/mnemosyne-proj/trunk trunk
> Initialising Subversion metadata cache in /home/pbienst/.bazaar/svn-cache/e5e6b78b-db40-0410-9517-b98c64f8d2c1
> CPU times: user 0.00 s, sys: 0.00 s, total: 0.00 s
> Wall time: 1432.07 s
>
> > cd trunk
> > bzr push bzr+ssh://<email address hidden>/~peter-bienstman/mnemosyne-proj/trunk
> bzr: ERROR: bzrlib.errors.BzrCheckError: Internal check failed: Newly created pack file <bzrlib.repofmt.pack_repo.NewPack object at 0x7f1b56892350> has delta references to items not in its repository:
> {'texts': [('2@e5e6b78b-db40-0410-9517-b98c64f8d2c1:trunk:mnemosyne%2FTODO',
> 'pbienst@amar-sin-20081118192140-egevc8uy9ep9q87m')]}
>
> Traceback (most recent call last):
> File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 896, in run_bzr_catch_errors
> return run_bzr(argv)
> File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 842, in run_bzr
> ret = run(*run_argv)
> File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 542, in run_argv_aliases
> return self.run(**all_cmd_args)
> File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 981, in run
> use_existing_dir=use_existing_dir)
> File "/usr/lib/python2.5/site-packages/bzrlib/push.py", line 105, in _show_push_branch
> revision_id=revision_id, stacked_on=stacked_on)
> File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 224, in clone_on_transport
> result_repo.fetch(local_repo, revision_id=revision_id)
> File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line 1118, in fetch
> find_ghosts=find_ghosts)
> File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 192, in write_locked
> result = unbound(self, *args, **kwargs)
> File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line 2985, in fetch
> return self._pack(self.source, self.target, revision_ids)
> File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line 2992, in _pack
> revision_ids).pack()
> File "/usr/lib/python2.5/site-packages/bzrlib/repofmt/pack_repo.py", line 655, in pack
> return self._create_pack_from_packs()
> File "/usr/lib/python2.5/site-packages/bzrlib/repofmt/pack_repo.py", line 825, in _create_pack_from_packs
> new_pack._check_references()
> File "/usr/lib/python2.5/site-packages/bzrlib/repofmt/pack_repo.py", line 348, in _check_references
> % (self, pformat(missing_items)))
> BzrCheckError: Internal check failed: Newly created pack file <bzrlib.repofmt.pack_repo.NewPack object at 0x7f1b56892350> has delta references to items not in its repository:
> {'texts': [('2@e5e6b78b-db40-0410-9517-b98c64f8d2c1:trunk:mnemosyne%2FTODO',
> 'pbienst@amar-sin-20081118192140-egevc8uy9ep9q87m')]}
I can confirm this.

  status triaged
  importance medium
--
Jelmer Vernooij <email address hidden> - http://samba.org/~jelmer/
Jabber: <email address hidden>