bzr crashes after pulling from branch with subtrees joined by reference (developer-subtree format)

Bug #693022 reported by Florian Rathgeber
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Medium
Unassigned

Bug Description

The crash occurs if there are changes in the joined subtree to pull, not otherwise. I'm aware that neither the developer-subtree format nor join --reference are meant for production use atm, but this bug effectively inhibits me using it.

Steps to reproduce (bzr 2.3b3):

mkdir foo && cd foo
bzr init
touch file
bzr add
bzr ci -m "init"
cd ..
mkcd bar && cd bar
bzr init --development-subtree
bzr branch ../foo/
bzr join --reference foo/
bzr ci -m "joined"
cd ..
bzr branch bar/ baz
cd foo
echo "Hello, World" > file
bzr ci -m "modified file"
cd ../bar/foo
bzr pull
cd ..
touch file
bzr add
bzr ci -m "added file"
cd ..
cd baz
bzr pull

The following error occurs:
bzr: failed to report crash using apport:
     OSError(13, 'Permission denied')
bzr: ERROR: exceptions.AttributeError: 'NoneType' object has no attribute 'reference_parent'

The traceback is attached (starting from the final pull)

Revision history for this message
Florian Rathgeber (florian-rathgeber) wrote :
Vincent Ladeuil (vila)
Changed in bzr:
status: New → Confirmed
importance: Undecided → Medium
Jelmer Vernooij (jelmer)
tags: added: nested-trees pull
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.