QBzr shows error message on showing blank revision

Bug #413458 reported by Craig Hewetson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QBzr
Fix Released
Medium
Alexander Belchenko

Bug Description

Open qbrowse on a repository
Then clear the revision number.
Press Show.
The following error gets shown:

bzr: ERROR: exceptions.UnboundLocalError: local variable 'revision_spec' referenced before assignment

Traceback (most recent call last):
  File "/home/craig/.bazaar/plugins/qbzr/lib/uifactory.py", line 31, in decorate
    r = f(*args, **kargs)
  File "/home/craig/.bazaar/plugins/qbzr/lib/browse.py", line 222, in reload_tree
    self.set_revision(revision_id=revision_id, text=revision_spec)
UnboundLocalError: local variable 'revision_spec' referenced before assignment

bzr 1.17 on python 2.6.2 (linux2)
arguments: ['/usr/bin/bzr', 'qbrowse', 'bzr://bonsai/trunk/dev']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_ZA.UTF-8'
plugins:
  bzrtools /usr/lib/python2.6/dist-packages/bzrlib/plugins/bzrtools [1.17]
  explorer /home/craig/.bazaar/plugins/explorer [0.7dev]
  extmerge /home/craig/.bazaar/plugins/extmerge [unknown]
  launchpad /usr/lib/python2.6/dist-packages/bzrlib/plugins/launchpad [1.17]
  netrc_credential_store /usr/lib/python2.6/dist-packages/bzrlib/plugins/netrc_credential_store [1.17]
  qbzr /home/craig/.bazaar/plugins/qbzr [0.14dev]
  search /home/craig/.bazaar/plugins/search [1.7dev]
  xmloutput /home/craig/.bazaar/plugins/xmloutput [0.8.5

Revision history for this message
Alexander Belchenko (bialix) wrote : Re: [Bug 413458] [NEW] QBzr shows error message on showing blank revision

Works for me on Windows with qbzr trunk revno 903.
Needs more info.

Revision history for this message
Alexander Belchenko (bialix) wrote :

To reproduce you need to run qbrowse on treeless branch.

Changed in qbzr:
importance: Undecided → Medium
status: New → Confirmed
Changed in qbzr:
assignee: nobody → Alexander Belchenko (bialix)
milestone: none → 0.14
status: Confirmed → Fix Released
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.