I got the following when I started to type "hg update" thinking I was typing in powershell while I had focus on Tortoise.
Steps to reproduce :
- focus Tortoise window by clicking on the title bar (so no input field is focused)
- press space key, the following message will appear in bug report window
** Mercurial version (2.8.1). TortoiseHg version (2.10.1) ** Command: --nofork workbench ** CWD: D:\hg\SEAL_Dev ** Encoding: cp1252 ** Extensions loaded: rebase, purge, graphlog, histedit, convert, shelve, strip, mq ** Python version: 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] ** Windows version: sys.getwindowsversion(major=6, minor=1, build=7601, platform=2, service_pack='Service Pack 1') ** Processor architecture: x86 ** Qt-4.8.4 PyQt-4.10.2 QScintilla-2.7.2 Traceback (most recent call last): File "tortoisehg\hgqt\fileview.pyo", line 962, in keyPressEvent File "tortoisehg\hgqt\fileview.pyo", line 973, in chunkContainsLine ValueError: max() arg is an empty sequence