status gives false positives for text files with CRLF (@win32)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Critical
|
John A Meinel |
Bug Description
It seems that Python 2.4 support on windows platform is broken. Here is results for bzr.exe (python 2.5-based) and bzr.dev.revno.2904 running on python 2.4.
bzr.exe 0.91:
E:\Bazaar\
^-- nothing changed. as expected.
Then I run from sources without compiled extensions:
E:\Bazaar\
modified:
bzr.ico
bzrlib/
bzrlib/
bzrlib/
bzrlib/
bzrlib/
tools/
Please note, that actually I don't touch any file.
After this point dirstate file is modified and bzr.exe also starts to show the same result.
When I try to look at diff I get traceback:
E:\Bazaar\
=== 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/
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "E:\Bazaar\
return run_bzr(argv)
File "E:\Bazaar\
ret = run(*run_argv)
File "E:\Bazaar\
return self.run(
File "E:\Bazaar\
result = func(*args, **kwargs)
File "E:\Bazaar\
old_
File "E:\Bazaar\
extra_
File "E:\Bazaar\
path_
File "E:\Bazaar\
True, kind, to_file, diff_file)
File "E:\Bazaar\
new_tree, to_file)
File "E:\Bazaar\
output_to, reverse)
File "E:\Bazaar\
to_label, to_text, output_to)
File "E:\Bazaar\
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\
multiparent E:\Bazaar\
** Please send this report to <email address hidden>
with a description of what you were doing when the
error occurred.
All files above either binary or have CRLF line-endings.
Related branches
Changed in bzr: | |
status: | In Progress → Fix Committed |
assignee: | nobody → jameinel |
This bug reproducible with python 2.5 too on Windows 2000, but on my laptop with Python 2.5 @ Windows XP Home is not.
Something really weird going on here.