bzr bug

Alexander Belchenko bialix at ukr.net
Tue Oct 2 09:44:02 BST 2007


Michael Hudson пишет:
> Grinchishin V. wrote:
>> bzr: ERROR: exceptions.UnboundLocalError: local variable 'b' referenced
>> before assignment
>>
>> Traceback (most recent call last):
>>   File "C:\usr\Python\Lib\site-packages\bzrlib\commands.py", line 800,
>> in run_bzr_catch_errors
>>     return run_bzr(argv)
>>   File "C:\usr\Python\Lib\site-packages\bzrlib\commands.py", line 758,
>> in run_bzr
>>     ret = run(*run_argv)
>>   File "C:\usr\Python\Lib\site-packages\bzrlib\commands.py", line 492,
>> in run_argv_aliases
>>     return self.run(**all_cmd_args)
>>   File "C:\usr\Python\Lib\site-packages\bzrlib\commands.py", line 768,
>> in ignore_pipe
>>     result = func(*args, **kwargs)
>>   File "C:\usr\Python\Lib\site-packages\bzrlib\builtins.py", line 2123,
>> in run
>>     tree = b.basis_tree()
>> UnboundLocalError: local variable 'b' referenced before assignment
>>
>> bzr 0.91.0 on python 2.5.1.final.0 (win32)
>> arguments: ['C:\\usr\\Python\\Scripts\\bzr', 'cat', '-r75',
>> '/doc/plan_extra.doc']
>>   
> This bug is still present in bzr.dev; go to a directory that's _not_ in 
> a bazaar branch and run "bzr cat foo".  I haven't drunk enough coffee 
> yet to work out what the code in cmd_cat.run is trying to do (it's a bit 
> contorted, though), but this isn't it :-)

This is a bug #133782.
Incomplete patch 
http://bundlebuggy.aaronbentley.com/request/%3C1189253358.6645.35.camel@nemo%3E



More information about the bazaar mailing list