Assertion error comitting to bzr-svn checkout with custom layout
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Subversion Plugin |
Fix Released
|
Medium
|
Jelmer Vernooij |
Bug Description
With bzr 1.10 and bzr-svn 0.5 branch HEAD, I made an svn repository, added trunk/tags/
This should illustrate:
$ rm -rf ~/.bazaar/
$ rm -rf ~/.bazaar/
$ mkdir /tmp/bzr-svn-test/
$ cd /tmp/bzr-svn-test
$ svnadmin create svn-repos
$ svn co file://
Checked out revision 0.
$ cd svn-co
$ svn mkdir trunk tags branches
A trunk
A tags
A branches
$ svn commit -m "Initial skeleton"
Adding branches
Adding tags
Adding trunk
Committed revision 1.
$ cd ..
$ bzr co svn-repos/trunk
Initialising Subversion metadata cache in /home/wjlanda/
$ cd trunk
$ vi ~/.bazaar/
$ cat ~/.bazaar/
[26f751e9-
locations = file://
branches = trunk;branches/*
tags = tags/*
$ touch file
$ bzr add
added file
$ bzr commit -m "Added file"
Committing to: /tmp/bzr-
added file
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
exclude=
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
result = WorkingTree3.
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
*args, **kwargs)
File "/usr/lib/
revision_
File "/usr/lib/
find_
File "/home/
self.
File "/home/
while not self.target.
File "/home/
foreign_revid, _ = self.lookup_
File "/home/
return self.revmap.
File "/home/
for entry_revid, branch, min_revno, max_revno, mapping in self.actual.
File "/home/
assert isinstance(branch, str)
AssertionError
bzr 1.10 on python 2.5.2 (linux2)
arguments: ['/usr/bin/bzr', 'commit', '-m', 'Added file']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
bzrtools /usr/lib/
cvsps_import /usr/lib/
gtk /usr/lib/
launchpad /usr/lib/
loom /usr/lib/
rebase /usr/lib/
search /usr/lib/
stats /usr/lib/
svn /home/wjlanda/
upload /usr/lib/
*** 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.
Same thing happens if you branch instead of checkout, but then it only fails when you try to push or svn-push (both fail with the essentially the same backtrace as above).
BTW, this is sort of a regression from 0.4.x, but only when trying to use a custom layout. I didn't explicitly say above, but if you get rid of the "branches =" and "tags =" lines, it works as expected.