bzr pump crashed with exceptions.AttributeError: 'RevisionTree' object has no attribute 'branch'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
Unassigned |
Bug Description
Sequence of commands:
Create shared repository, one branch with two files:
$ bzr init-repo pipe-repo
$ cd pipe-repo
$ bzr init trunk
$ cd trunk
$ vim main.e
$ bzr add
$ bzr ci -m "Initial ci"
$ vim Web.config (added one line of text)
$ bzr add
$ bzr ci -m "Config file added"
$ cd ..
Make branch dev and make it a pipeline, add two additional pipes:
$ bzr branch trunk dev
$ cd dev
$ bzr reconfigure-
$ bzr add-pipe test
$ bzr add-pipe production
$ bzr swp test
$ vim Web.config
$ bzr ci -m "Config changed."
$ bzr swp production
$ vim Web.config
$ bzr ci -m "Config changed."
$ bzr swp dev
$ vim Web.config (change that only line of text)
$ bzr ci -m "Config changed."
$ bzr pump
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "C:/Program Files/Bazaar/
File "C:/Program Files/Bazaar/
File "C:/Program Files/Bazaar/
File "C:/Program Files/Bazaar/
File "bzrlib\merge.pyo", line 788, in make_preview_
File "bzrlib\
File "bzrlib\
File "bzrlib\merge.pyo", line 793, in _make_preview_
File "bzrlib\merge.pyo", line 814, in _compute_transform
File "bzrlib\merge.pyo", line 1302, in _do_merge_contents
File "bzrlib\merge.pyo", line 161, in merge_contents
File "bzrlib\merge.pyo", line 133, in filename_
AttributeError: 'RevisionTree' object has no attribute 'branch'
bzr 2.1.0 on python 2.5.4 (Windows-
arguments: ['bzr', 'pump']
encoding: 'cp1251', fsenc: 'mbcs', lang: 'en'
plugins:
bzrtools C:\Program Files\Bazaar\
explorer C:\Program Files\Bazaar\
launchpad C:\Program Files\Bazaar\
netrc_
news_merge C:\Program Files\Bazaar\
pipeline C:\Program Files\Bazaar\
qbzr C:\Program Files\Bazaar\
rebase C:\Program Files\Bazaar\
svn C:\Program Files\Bazaar\
upload C:\Program Files\Bazaar\
xmloutput C:\Program Files\Bazaar\
*** Bazaar has encountered an internal error. This probably indicates a
bug in Bazaar. You can help us fix it by filing a bug report at
https:/
including this traceback and a description of the problem.
This was fixed in bzr 2.1.1. The NEWS entry was:
* Merge correctly when this_tree is not a WorkingTree. (Aaron Bentley)