KeyError from repository created with bzr-svn 0.4.12 and 0.4.13
Brian de Alwis
bsd at cs.ubc.ca
Thu Oct 30 19:00:52 GMT 2008
I've checked out a project from a Subversion repository using bzr-svn,
but 'bzr check' fails with a KeyError on the repository. I've tried
checking out the project using several combinations of bzr + bzr-svn
versions, but they all failed in the same way (bzr 1.6 + bzr-svn
0.4.12, bzr 1.7.1 + bzr-svn 0.4.13, and bzr 1.8 + bzr-svn 0.4.13).
And this is using Subversion 1.5.2.
I've used bzr-svn with this repository previously, so the project does
have bzr-svn properties. I have recently changed the branching scheme
to be more precise, from:
*/*/*/trunk
*/*/*/branches/*
to:
hci/projects/RTChess/trunk
hci/projects/RTChess/branches/*
gt/trunk
gt/branches/*
I dunno how much of an effect changing the branching scheme has; if
this is the cause, is there a way to remove the properties or 'fix'
the repository?
$ bzr co svn+https://papyrus.usask.ca/svn/dept/hci/projects/RTChess/
branches/port-gt-2/ GT2-trunk
The svn+ syntax is deprecated, usehttps://papyrus.usask.ca/svn/dept/
hci/projects/RTChess/branches/port-gt-2/ instead.
<https://papyrus.usask.ca:443> CMPT Subversion Repository bsd178
password:
- [ ] copying
revision 1/139<https://papyrus.usask.ca:443> CMPT Subversion
Repository bsd178 password:
$ cd GT2-trunk
$ bzr check
Checking working tree at 'file:///Users/bsd/NECTAR/RTChess/GT2-trunk/'.
Checking repository at 'file:///Users/bsd/NECTAR/RTChess/GT2-trunk/'.
bzr: ERROR: exceptions.KeyError:
('rtbots-20081024203043-7culigb369snr5n0-1','brian.de.alwis at usask.ca-20081029053442-5ducttqi4i1ywbmg
')
Traceback (most recent call last):
File "/usr/pkg/lib/python2.5/site-packages/bzrlib/commands.py", line
849, in run_bzr_catch_errors
return run_bzr(argv)
File "/usr/pkg/lib/python2.5/site-packages/bzrlib/commands.py", line
795, in run_bzr
ret = run(*run_argv)
File "/usr/pkg/lib/python2.5/site-packages/bzrlib/commands.py", line
495, in run_argv_aliases
return self.run(**all_cmd_args)
File "/usr/pkg/lib/python2.5/site-packages/bzrlib/builtins.py", line
2427, in run
check_dwim(path, verbose, do_branch=branch, do_repo=repo,
do_tree=tree)
File "/usr/pkg/lib/python2.5/site-packages/bzrlib/check.py", line 302,
in check_dwim
result = repo.check()
File "/usr/pkg/lib/python2.5/site-packages/bzrlib/decorators.py", line
138, in read_locked
result = unbound(self, *args, **kwargs)
File "/usr/pkg/lib/python2.5/site-packages/bzrlib/repository.py", line
1858, in check
return self._check(revision_ids)
File "/usr/pkg/lib/python2.5/site-packages/bzrlib/repository.py", line
1862, in _check
result.check()
File "/usr/pkg/lib/python2.5/site-packages/bzrlib/check.py", line 87,
in check
self.check_weaves()
File "/usr/pkg/lib/python2.5/site-packages/bzrlib/check.py", line 208,
in check_weaves
self.repository.texts, progress_bar=self.progress)
File "/usr/pkg/lib/python2.5/site-packages/bzrlib/repository.py", line
3233, in check_file_version_parents
knit_parents = parent_map[key]
KeyError: ('rtbots-20081024203043-7culigb369snr5n0-1', 'brian.de.alwis at usask.ca-20081029053442-5ducttqi4i1ywbmg
')
bzr 1.8 on python 2.5.2 (darwin)
arguments: ['/usr/pkg/bin/bzr', 'check']
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_CA.UTF-8'
plugins:
automv /Users/bsd/.bazaar/plugins/automv [unknown]
clear_exec_bit /Users/bsd/.bazaar/plugins/clear_exec_bit.py
[unknown]
fastimport /Users/bsd/.bazaar/plugins/fastimport [unknown]
grep /Users/bsd/.bazaar/plugins/grep [unknown]
launchpad /usr/pkg/lib/python2.5/site-packages/bzrlib/
plugins/launchpad [unknown]
lessdiff /Users/bsd/.bazaar/plugins/lessdiff [unknown]
lesslog /Users/bsd/.bazaar/plugins/lesslog [unknown]
merge_into /Users/bsd/.bazaar/plugins/merge_into [unknown]
rebase /Users/bsd/.bazaar/plugins/rebase [0.4.1]
svn /usr/pkg/lib/python2.5/site-packages/bzrlib/
plugins/svn [0.4.13]
vimdiff /Users/bsd/.bazaar/plugins/vimdiff [unknown]
xmloutput /Users/bsd/.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.
--
"Amusement to an observing mind is study." - Benjamin Disraeli
More information about the bazaar
mailing list