2009-06-03 09:41:36 |
Alexander Belchenko |
bug |
|
|
added bug |
2009-06-04 00:09:12 |
Robert Collins |
bzr-search: importance |
Undecided |
Medium |
|
2009-06-04 00:09:12 |
Robert Collins |
bzr-search: status |
New |
Triaged |
|
2009-06-04 09:27:40 |
Alexander Belchenko |
attachment added |
|
encoding-option.diff http://launchpadlibrarian.net/27487956/encoding-option.diff |
|
2009-06-09 13:08:53 |
Alexander Belchenko |
attachment added |
|
search.zip http://launchpadlibrarian.net/27693453/search.zip |
|
2009-06-09 13:14:21 |
Alexander Belchenko |
attachment added |
|
passing both unicode and non-unicode strings leads to traceback. http://launchpadlibrarian.net/27693544/test1.py |
|
2009-06-09 13:38:23 |
Robert Collins |
bzr-search: importance |
Medium |
High |
|
2009-06-09 13:39:31 |
Robert Collins |
summary |
bzr search can't find non-ascii text |
bzr search can't index non-ascii text |
|
2009-06-09 13:40:14 |
Robert Collins |
description |
C:\Temp\5>echo тест > Тест.txt
C:\Temp\5>bzr st
modified:
Тест.txt
C:\Temp\5>bzr ci -m2
Committing to: C:/Temp/5/
modified Тест.txt
Committed revision 2.
C:\Temp\5>bzr index
C:\Temp\5>bzr search foo
'#1058;ест.txt in revision 'bialix@ukr.net-20090603093555-ieopngjn3vcpq2cz'. Summary: 'foo
C:\Temp\5>bzr search тест
bzr: ERROR: No matches were found for the search [u'\u0442\u0435\u0441\u0442'].
As you could see search tries to search unicode text in the plain file (cp1251 encoded). It's never could match. |
cp1251 strings in indexed content are ignored by the indexing process. |
|