Problem with latest tags code

Bug #245967 reported by Russel Winder
2
Affects Status Importance Assigned to Milestone
bzr-svn (Ubuntu)
New
Undecided
Unassigned

Bug Description

Using bzr.dev up-to-date working from the tree with bzr-svn from http://people.samba.org/bzr/jelmer/bzr-svn/0.4 at revision 1436, when I try to create a new branch of the Gant Subversion repository, I get the following error. This leads to the repository for the branch being created but no working tree. bzr checkout gets the working tree. However any attempt to pull leads to the same error as below. bzr missing indicates the branches are the same.

|> bzr branch svn+https://svn.codehaus.org/gant/gant/trunk Trunk
using experimental bzr-svn mappings; output may change between revisions
bzr: ERROR: exceptions.KeyError: 'gant/tags/1.1.0'

Traceback (most recent call last):
  File "/home/Checkouts/Bazaar/Bazaar_Mainline/bzrlib/commands.py", line 857, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/home/Checkouts/Bazaar/Bazaar_Mainline/bzrlib/commands.py", line 797, in run_bzr
    ret = run(*run_argv)
  File "/home/Checkouts/Bazaar/Bazaar_Mainline/bzrlib/commands.py", line 499, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/home/Checkouts/Bazaar/Bazaar_Mainline/bzrlib/builtins.py", line 942, in run
    hardlink=hardlink)
  File "/home/Checkouts/Bazaar/Bazaar_Mainline/bzrlib/bzrdir.py", line 1034, in sprout
    source_branch.sprout(result, revision_id=revision_id)
  File "/home/users/russel/.bazaar/plugins/svn/branch.py", line 547, in sprout
    self.copy_content_into(result, revision_id=revision_id)
  File "/home/Checkouts/Bazaar/Bazaar_Mainline/bzrlib/decorators.py", line 138, in read_locked
    result = unbound(self, *args, **kwargs)
  File "/home/Checkouts/Bazaar/Bazaar_Mainline/bzrlib/branch.py", line 737, in copy_content_into
    self.tags.merge_to(destination.tags)
  File "/home/Checkouts/Bazaar/Bazaar_Mainline/bzrlib/tag.py", line 207, in merge_to
    source_dict = self.get_tag_dict()
  File "/home/users/russel/.bazaar/plugins/svn/branch.py", line 100, in get_tag_dict
    layout=self.layout)
  File "/home/Checkouts/Bazaar/Bazaar_Mainline/bzrlib/decorators.py", line 138, in read_locked
    result = unbound(self, *args, **kwargs)
  File "/home/users/russel/.bazaar/plugins/svn/repository.py", line 742, in find_tags
    del paths[bp]
KeyError: 'gant/tags/1.1.0'

bzr 1.6b3 on python 2.5.2 (linux2)
arguments: ['/home/Checkouts/Bazaar/Bazaar_Mainline/bzr', 'branch', 'svn+https://svn.codehaus.org/gant/gant/trunk', 'Trunk']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_GB.UTF-8'
plugins:
  builddeb /usr/lib/python2.5/site-packages/bzrlib/plugins/builddeb [0.92.0dev0]
  bzrtools /home/users/russel/.bazaar/plugins/bzrtools [1.6.0]
  dbus /usr/lib/python2.5/site-packages/bzrlib/plugins/dbus [unknown]
  email /usr/lib/python2.5/site-packages/bzrlib/plugins/email [unknown]
  gtk /home/users/russel/.bazaar/plugins/gtk [0.95.0dev1]
  launchpad /home/Checkouts/Bazaar/Bazaar_Mainline/bzrlib/plugins/launchpad [unknown]
  pqm /usr/lib/python2.5/site-packages/bzrlib/plugins/pqm [1.0.0dev0]
  rebase /home/users/russel/.bazaar/plugins/rebase [0.4.0dev0]
  svn /home/users/russel/.bazaar/plugins/svn [0.4.11exp0]
  xmloutput /home/users/russel/.bazaar/plugins/xmloutput [0.4.4]
*** 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
Russel Winder (russel) wrote :

Sorry, just ignore this, it is just a replica report.

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.