Can't push svn clone to bzr

Bug #307146 reported by robsta
2
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

The gtk-css-engine lives in both, bzr-playground and gnome svn. After being developed in gnome svn for some time I tried to update the playground, but bzr (1.10 from the ppa) bails out.

(1) bzr get svn+ssh://<email address hidden>/svn/gtk-css-engine/trunk gtk-css-engine
(2) cd gtk-css-engine
(3) bzr check # repo is ok
(4) bzr push bzr+ssh://<email address hidden>/bzr/robsta/gtk-css-engine
bzr: ERROR: bzrlib.errors.BzrCheckError: Internal check failed: Newly created pack file <bzrlib.repofmt.pack_repo.NewPack object at 0x9b0d74c> has delta references to items not in its repository:
{'texts': [('hacking-20080812073847-d210lox1qul689g2-4',
            'andreas@hurley-20080822100821-11lkbn5nk2zpg392'),
           ('news-20080812073847-d210lox1qul689g2-7',
            'andreas@hurley-20080822100533-8p8s1l55p2bcdw31'),
           ('sliderbackground.png-20080814143528-yod59y2gimilzsfx-1',
            '<email address hidden>'),
           ('sliderbackgroundhori-20080816085247-gd5vmzcr9lkk9ht8-6',
            '<email address hidden>')]}

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 893, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 839, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 539, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 913, in run
    use_existing_dir=use_existing_dir)
  File "/usr/lib/python2.5/site-packages/bzrlib/push.py", line 162, in _show_push_branch
    stop_revision=revision_id)
  File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 138, in read_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1799, in push
    _override_hook_source_branch=_override_hook_source_branch)
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 2508, in _run_with_write_locked_target
    result = callable(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1838, in _push_with_bound_branches
    result = self._basic_push(target, overwrite, stop_revision)
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1861, in _basic_push
    graph=graph)
  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/remote.py", line 1768, in update_revisions
    self.fetch(other, stop_revision)
  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/branch.py", line 286, in fetch
    pb=nested_pb)
  File "/usr/lib/python2.5/site-packages/bzrlib/remote.py", line 838, in fetch
    return inter.fetch(revision_id=revision_id, pb=pb, 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 2880, in fetch
    return self._pack(self.source, self.target, revision_ids)
  File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line 2887, in _pack
    revision_ids).pack()
  File "/usr/lib/python2.5/site-packages/bzrlib/repofmt/pack_repo.py", line 647, in pack
    return self._create_pack_from_packs()
  File "/usr/lib/python2.5/site-packages/bzrlib/repofmt/pack_repo.py", line 817, in _create_pack_from_packs
    new_pack._check_references()
  File "/usr/lib/python2.5/site-packages/bzrlib/repofmt/pack_repo.py", line 346, in _check_references
    % (self, pformat(missing_items)))
BzrCheckError: Internal check failed: Newly created pack file <bzrlib.repofmt.pack_repo.NewPack object at 0x9b0d74c> has delta references to items not in its repository:
{'texts': [('hacking-20080812073847-d210lox1qul689g2-4',
            'andreas@hurley-20080822100821-11lkbn5nk2zpg392'),
           ('news-20080812073847-d210lox1qul689g2-7',
            'andreas@hurley-20080822100533-8p8s1l55p2bcdw31'),
           ('sliderbackground.png-20080814143528-yod59y2gimilzsfx-1',
            '<email address hidden>'),
           ('sliderbackgroundhori-20080816085247-gd5vmzcr9lkk9ht8-6',
            '<email address hidden>')]}

bzr 1.10 on python 2.5.2 (linux2)
arguments: ['/usr/bin/bzr', 'push', 'bzr+ssh://<email address hidden>/bzr/robsta/gtk-css-engine']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_GB.UTF-8'
plugins:
  avahi /usr/lib/python2.5/site-packages/bzrlib/plugins/avahi [0.3dev]
  bzrtools /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.10]
  dbus /usr/lib/python2.5/site-packages/bzrlib/plugins/dbus [unknown]
  gtk /usr/lib/python2.5/site-packages/bzrlib/plugins/gtk [0.95.0.final.1]
  launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
  rebase /usr/lib/python2.5/site-packages/bzrlib/plugins/rebase [0.3]
  svn /usr/lib/python2.5/site-packages/bzrlib/plugins/svn [0.4.16]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.

Revision history for this message
robsta (robsta) wrote :

Attach ~/.bzr.log

Revision history for this message
Robert Collins (lifeless) wrote :

jelmer, is it possible that the bzr-svn generated references outside of the revision graph?

robsta, does this happen if you push locally?

Revision history for this message
Robert Collins (lifeless) wrote :

Oh, also - if this was an existing branch you pushed to, if Jelmer has changed the graph-of-file stuff for bzr-svn, you could well have references to texts you expect to exist but don't.

Revision history for this message
robsta (robsta) wrote :

Pushing locally to a pristine branch works.

Pushing to a local clone of bzr+ssh://<email address hidden>/bzr/robsta/gtk-css-engine fails, just like pushing to the online branch.

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.