[BUG] another win32 regression: status command lies about changes

Alexander Belchenko bialix at ukr.net
Tue Oct 16 11:44:07 BST 2007


Here is result of `bzr status` command in my mirror of bzr.dev
revno 2906 for bzr.exe 0.91 and bzr.dev.revno.2906:

bzr.exe 0.91:

E:\Bazaar\mydev\bzr.dev>bzr --no-plugins st


^-- nothing changed. as expected.

Then I run from sources without compiled extensions:

E:\Bazaar\mydev\bzr.dev>python bzr --no-plugins st
modified:
   bzr.ico
   bzrlib/util/effbot/__init__.py
   bzrlib/util/effbot/org/__init__.py
   bzrlib/util/effbot/org/gzip_consumer.py
   bzrlib/util/effbot/org/http_client.py
   bzrlib/util/effbot/org/http_manager.py
   tools/win32/start_bzr.bat

Please note, that actually I don't touch any file.

E:\Bazaar\mydev\bzr.dev>python bzr --no-plugins version
Bazaar (bzr) 0.92.0.dev.0
   from bzr checkout E:/Bazaar/mydev/bzr.dev
     revision: 2906
     revid: pqm at pqm.ubuntu.com-20071012085726-lyq36i8bo7ew28ba
     branch nick: bzr.dev
   Python interpreter: C:\Python24\python.exe 2.4.3.final.0
   Python standard library: C:\Python24\lib
   bzrlib: E:\Bazaar\mydev\bzr.dev\bzrlib
   Bazaar configuration: C:\Documents and Settings\xxx\Application 
Data\bazaar\2.0
   Bazaar log file: C:\Documents and Settings\xxx\Њ®Ё ¤®Єг¬Ґ­вл\.bzr.log

Copyright 2005, 2006, 2007 Canonical Ltd.
http://bazaar-vcs.org/

bzr comes with ABSOLUTELY NO WARRANTY.  bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.


Let's try to look at diff for this "changed" files:

E:\Bazaar\mydev\bzr.dev>python bzr di
=== modified file 'bzr.ico'
Binary files bzr.ico    2006-07-31 16:12:57 +0000 and bzr.ico 
2007-10-16 10:21:28 +0000 differ
=== modified file 'bzrlib/util/effbot/__init__.py'
bzr: ERROR: exceptions.IndexError: list index out of range

Traceback (most recent call last):
   File "E:\Bazaar\mydev\bzr.dev\bzrlib\commands.py", line 802, in 
run_bzr_catch_errors
     return run_bzr(argv)
   File "E:\Bazaar\mydev\bzr.dev\bzrlib\commands.py", line 758, in run_bzr
     ret = run(*run_argv)
   File "E:\Bazaar\mydev\bzr.dev\bzrlib\commands.py", line 492, in 
run_argv_aliases
     return self.run(**all_cmd_args)
   File "E:\Bazaar\mydev\bzr.dev\bzrlib\commands.py", line 768, in 
ignore_pipe
     result = func(*args, **kwargs)
   File "E:\Bazaar\mydev\bzr.dev\bzrlib\builtins.py", line 1502, in run
     old_label=old_label, new_label=new_label)
   File "E:\Bazaar\mydev\bzr.dev\bzrlib\diff.py", line 344, in 
diff_cmd_helper
     extra_trees=extra_trees)
   File "E:\Bazaar\mydev\bzr.dev\bzrlib\diff.py", line 378, in 
show_diff_trees
     path_encoding=path_encoding)
   File "E:\Bazaar\mydev\bzr.dev\bzrlib\diff.py", line 464, in 
_show_diff_trees
     True, kind, to_file, diff_file)
   File "E:\Bazaar\mydev\bzr.dev\bzrlib\diff.py", line 512, in 
_maybe_diff_file_or_symlink
     new_tree, to_file)
   File "E:\Bazaar\mydev\bzr.dev\bzrlib\inventory.py", line 160, in diff
     output_to, reverse)
   File "E:\Bazaar\mydev\bzr.dev\bzrlib\inventory.py", line 630, in _diff
     to_label, to_text, output_to)
   File "E:\Bazaar\mydev\bzr.dev\bzrlib\diff.py", line 96, in internal_diff
     ud[0] = ud[0][:-2] + '\n'
IndexError: list index out of range

bzr 0.92.0.dev.0 on python 2.4.3.final.0 (win32)
arguments: ['bzr', 'di']
encoding: 'cp1251', fsenc: 'mbcs', lang: None
plugins:
   launchpad            E:\Bazaar\mydev\bzr.dev\bzrlib\plugins\launchpad 
[unknown]
   multiparent 
E:\Bazaar\mydev\bzr.dev\bzrlib\plugins\multiparent.pyc [unknown]

** Please send this report to bazaar at lists.ubuntu.com
    with a description of what you were doing when the
    error occurred.


The same with python 2.5.



More information about the bazaar mailing list