stack trace for "qbrowse -r nn"

Bug #203119 reported by Kuno Meyer
2
Affects Status Importance Assigned to Milestone
QBzr
Fix Released
Medium
Alexander Belchenko

Bug Description

D:\xkm\projects>bzr qbrowse -r 543
bzr: ERROR: exceptions.NameError: global name 'revspec' is not defined

Traceback (most recent call last):
  File "bzrlib\commands.pyc", line 834, in run_bzr_catch_errors
  File "bzrlib\commands.pyc", line 790, in run_bzr
  File "bzrlib\commands.pyc", line 492, in run_argv_aliases
  File "C:/Documents and Settings/xkm/Application Data/bazaar/2.0/plugins\qbzr\__init__.py", line 141, in run
  File "bzrlib\lazy_import.pyc", line 125, in __call__
  File "C:/Documents and Settings/xkm/Application Data/bazaar/2.0/plugins\qbzr\browse.py", line 100, in __init__
NameError: global name 'revspec' is not defined

bzr 1.2.0 on python 2.5.1.final.0 (win32)
arguments: ['bzr', 'qbrowse', '-r', '543']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
  bzrtools C:\Documents and Settings\xkm\Application Data\bazaar\2.0\plugins\bzrtools [1.2.0]
  difftools C:\Documents and Settings\xkm\Application Data\bazaar\2.0\plugins\difftools [unknown]
  launchpad C:\Program Files\Bazaar\lib\library.zip\bzrlib\plugins\launchpad [unknown]
  pvcstools C:\Documents and Settings\xkm\Application Data\bazaar\2.0\plugins\pvcstools [0.0.3]
  qbzr C:\Documents and Settings\xkm\Application Data\bazaar\2.0\plugins\qbzr [0.8.0]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.

Related branches

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

Here the fix:

=== modified file 'browse.py'
--- browse.py 2007-12-04 13:10:17 +0000
+++ browse.py 2008-03-17 10:46:40 +0000
@@ -97,7 +97,7 @@
                 revision_spec = str(revno)
             self.set_revision(revision_id=revision_id, text=revision_spec)
         else:
- self.set_revision(revspec)
+ self.set_revision(revision)

     def load_file_tree(self, entry, parent_item):
         files, dirs = [], []

Changed in qbzr:
assignee: nobody → bialix
importance: Undecided → Medium
milestone: none → 0.9.0
status: New → In Progress
Revision history for this message
Alexander Belchenko (bialix) wrote :

Fix in trunk revno.229

Changed in qbzr:
status: In Progress → Fix Committed
Lukáš Lalinský (luks)
Changed in qbzr:
status: Fix Committed → 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.