Bug in annotate window

mikola avatarmikola created an issue

Error occured everytime when I am moving the mouse over line with Russian (non-ascii) text. And I found that UI language should be Russian too.

** Mercurial version (1.8.3).  TortoiseHg version (2.0.4)
** Command: --nofork annotate --listfile C:\DOCUME~1\mikola\LOCALS~1\Temp\THG3C1.tmp
** CWD: D:\hgwork\bitbucket-locale\locale\ru\LC_MESSAGES
** Extensions loaded: fixfrozenexts, convert
** Python version: 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)]
** Windows version: (5, 1, 2600, 2, 'Service Pack 3')
** Processor architecture: x86
** Qt-4.7.1 PyQt-4.8.3
Traceback (most recent call last):
  File "tortoisehg\hgqt\annotate.pyo", line 76, in mouseMoveEvent
  File "tortoisehg\hgqt\annotate.pyo", line 85, in _emitRevisionHintAtLine
  File "tortoisehg\util\hglib.pyo", line 567, in get_revision_desc
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 3: ordinal not in range(128)

Comments (5)

  1. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.