qbrowse of a lightweight checkout of a treeless branch causes qlog crash

Bug #527237 reported by Adam Glauser
This bug report is a duplicate of:  Bug #585280: Crash when show log of file. Edit Remove
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
QBzr
Confirmed
High
Unassigned

Bug Description

May be related to https://bugs.launchpad.net/qbzr/+bug/521158
Steps to recreate (Windows XP SP3):

PS C:\Development> mkdir testBranch
PS C:\Development> cd testBranch
C:\Development\testBranch
PS C:\Development\testBranch> bzr init
Created a standalone tree (format: 2a)
PS C:\Development\testBranch> edit test.txt [Save empty file]
PS C:\Development\testBranch> bzr add
adding test.txt
PS C:\Development\testBranch> bzr commit -m "Initial commit"
Committing to: C:/Development/testBranch/
added test.txt
Committed revision 1.
PS C:\Development\testBranch> bzr remove-tree
PS C:\Development\testBranch> cd ..
C:\Development
PS C:\Development> mkdir testCOLight
PS C:\Development> mkdir testCO
PS C:\Development> bzr checkout --lightweight testBranch testCOLight
PS C:\Development> bzr checkout testBranch testCO
PS C:\Development> cd testCOLight
C:\Development\testCOLight
PS C:\Development\testCOLight> bzr qbrowse
[Right-click test.txt, choose 'Show log'] -> produces attached traceback 'qbrowse-qlog-traceback.txt'

The bug does not appear when the same steps are followed in non-lightweight checkout 'testCO'.

Workaround in testCOLight:
PS C:\Development\testCOLight> bzr qbrowse -r -1
[Change revision from '-1' to 'wt:']
[Right-click test.txt, choose 'Show log'] -> shows log as expected

Revision history for this message
Adam Glauser (adamglauser) wrote :
Revision history for this message
Craig Hewetson (craighewetson-deactivatedaccount) wrote :

Thanks for logging the bug and giving the steps to reproduce it. I was able to reproduce the problem too.

Changed in qbzr:
importance: Undecided → High
status: New → Confirmed
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.