bzr export trips assertion if directory contains nested branches
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Unassigned |
Bug Description
bzr will let you create nested branches, ala:
nwf@smaug:~/tmp$ bzr init-repository bzrtest2
nwf@smaug:~/tmp$ cd bzrtest2/
nwf@smaug:
nwf@smaug:
nwf@smaug:
nwf@smaug:
nwf@smaug:
Branched 0 revision(s).
nwf@smaug:
inner
However, running "bzr export outer_export outer" in bzrtest2 will result in
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/
export(t, dest, format, root)
File "/usr/lib/
return _exporters[
File "/usr/lib/
return func(tree, dest, root)
File "/usr/lib/
entries.next() # skip root
StopIteration
bzr 1.1.0.candidate.1 on python 2.4.4.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'export', 'oe', 'outer/']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
launchpad /usr/lib/
multiparent /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.
Full version information:
$ bzr --version
Bazaar (bzr) 1.1.0.candidate.1
Python interpreter: /usr/bin/python 2.4.4.final.0
Python standard library: /usr/lib/python2.4
bzrlib: /usr/lib/
Bazaar configuration: /home/nwf/.bazaar
Bazaar log file: /home/nwf/.bzr.log
Copyright 2005, 2006, 2007 Canonical Ltd.
http://
bzr comes with ABSOLUTELY NO WARRANTY. bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.
Changed in bzr: | |
importance: | Undecided → Medium |
I can't reproduce this with the latest bzr version, so I'm guessing it has been fixed.
I do see the error with bzr 1.3. However, I don't believe it is because of the nested branch, but instead because you've never done "bzr commit" in either branch (so there are no committed revisions.)
There have been a few patches recently which effect export code, the specific error here doesn't happen with bzr.dev, so should be fixed in bzr1.7