Tags code breaks pulling from some Subversion repoistories
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Subversion Plugin |
Fix Released
|
Medium
|
Jelmer Vernooij | ||
bzr-svn (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: bzr-svn
Trying to pull from the Gant Subversion repository with the latest bzr-svn from http://
(This is a repeat I think of the problem with the Waf repository, but this is actually much more serious since the Gant repository is more important to me, hence this report and marking the Waf one as a duplicate.)
|> bzr pull
Using saved location: svn+https:/
using experimental bzr-svn mappings; output may change between revisions
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/home/
return run_bzr(argv)
File "/home/
ret = run(*run_argv)
File "/home/
return self.run(
File "/home/
possible_
File "/home/
result = unbound(self, *args, **kwargs)
File "/home/
possible_
File "/home/
result = unbound(self, *args, **kwargs)
File "/home/
_override_
File "/home/
result = unbound(self, *args, **kwargs)
File "/home/
result.
File "/home/
source_dict = self.get_tag_dict()
File "/home/
layout=
File "/home/
result = unbound(self, *args, **kwargs)
File "/home/
del paths[bp]
KeyError: 'gant/tags/1.1.0'
bzr 1.6b3 on python 2.5.2 (linux2)
arguments: ['/home/
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_GB.UTF-8'
plugins:
builddeb /usr/lib/
bzrtools /home/users/
dbus /usr/lib/
email /usr/lib/
gtk /home/users/
launchpad /home/Checkouts
pqm /usr/lib/
rebase /home/users/
svn /home/users/
xmloutput /home/users/
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.
This also occurs for the Aeryn Subversion repository at svn+http:// aeryn.tigris. org/svn/ aeryn/trunk, same exception but with a tag of tags/aeryn_2_1_2. I removed all the tags that were present:
|> bzr tags 1_2_gefanuc_ 06_11_2007 ? /Repositories/ Bazaar/ Subversion_ Branches/ Aeryn_Trunk 1_2_gefanuc_ 06_11_2007 ; do bzr tag --delete $t ; done 1_2_gefanuc_ 06_11_2007.
README ?
aeryn_2_1_2 ?
aeryn_2_
511 balin:~
|> for t in README aeryn_2_1_2 aeryn_2_
Deleted tag README.
Deleted tag aeryn_2_1_2.
Deleted tag aeryn_2_
|> bzr tags
|>
but the error still occurs:
|> bzr pull aeryn.tigris. org/svn/ aeryn/trunk KeyError: 'tags/aeryn_2_1_2'
Using saved location: svn+http://
using experimental bzr-svn mappings; output may change between revisions
bzr: ERROR: exceptions.
Traceback (most recent call last): Checkouts/ Bazaar/ Bazaar_ Mainline/ bzrlib/ commands. py", line 857, in run_bzr_ catch_errors Checkouts/ Bazaar/ Bazaar_ Mainline/ bzrlib/ commands. py", line 797, in run_bzr Checkouts/ Bazaar/ Bazaar_ Mainline/ bzrlib/ commands. py", line 499, in run_argv_aliases **all_cmd_ args) Checkouts/ Bazaar/ Bazaar_ Mainline/ bzrlib/ builtins. py", line 665, in run transports= possible_ transports) Checkouts/ Bazaar/ Bazaar_ Mainline/ bzrlib/ decorators. py", line 192, in write_locked Checkouts/ Bazaar/ Bazaar_ Mainline/ bzrlib/ workingtree. py", line 1521, in pull transports= possible_ transports) Checkouts/ Bazaar/ Bazaar_ Mainline/ bzrlib/ decorators. py", line 192, in write_locked Checkouts/ Bazaar/ Bazaar_ Mainline/ bzrlib/ branch. py", line 1853, in pull hook_target= _override_ hook_target) Checkouts/ Bazaar/ Bazaar_ Mainline/ bzrlib/ decorators. py", line 192, in write_locked Checkouts/ Bazaar/ Bazaar_ Mainline/ bzrlib/ branch. py", line 1655, in pull tag_conflicts = source. tags.merge_ to(self. tags, overwrite) Checkouts/ Bazaar/ Bazaar_ Mainline/ bzrlib/ tag.py" , line 207, in merge_to users/russel/ .bazaar/ plugins/ svn/branch. py", line 100, in get_tag_dict self.layout) Checkouts/ Bazaar/ Bazaar_ Mainline/ bzrlib/ decorators. py", line 138, in read_locked users/russel/ .bazaar/ plugins/ svn/repository. py", line 742, in find_tags
File "/home/
return run_bzr(argv)
File "/home/
ret = run(*run_argv)
File "/home/
return self.run(
File "/home/
possible_
File "/home/
result = unbound(self, *args, **kwargs)
File "/home/
possible_
File "/home/
result = unbound(self, *args, **kwargs)
File "/home/
_override_
File "/home/
result = unbound(self, *args, **kwargs)
File "/home/
result.
File "/home/
source_dict = self.get_tag_dict()
File "/home/
layout=
File "/home/
result = unbound(self, *args, **kwargs)
File "/home/
del paths[bp]
KeyError: 'tags/aeryn_2_1_2'
bzr 1.6b3 on python 2.5.2 (linux2) users/russel/ bin/bzr' , 'pull'] python2. 5/site- packages/ bzrlib/ plugins/ builddeb [0.92.0dev0] russel/ .bazaar/ plugins/ bzrtools [1.6.0] python2. 5/site- packages/ bzrlib/ plugins/ dbus [unknown]
arguments: ['/home/
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_GB.UTF-8'
plugins:
builddeb /usr/lib/
bzrtools /home/users/
dbus /usr/lib/
email /usr/lib/...