thg email -> Clicking Preview tab causes an error
Created originally on Bitbucket by OmairM (Omair-Inam Abdul-Matin)
Steps to reproduce
- thg email
- Enter in an email
- Check attach and diffstat options
Note: I've verified that if the diffstat options is not checked then I cannot reproduce this issue suggesting that it's related to diffstat
#!python
#!python
** Mercurial version (3.0.1). TortoiseHg version (3.0.1)
** Command: email 60296
** CWD: C:\source\Destiny\D1Mar21
** Encoding: cp1252
** Extensions loaded: eol, extdiff, graphlog, largefiles, strip, mq, purge, rebase, record, transplant, patchbomb
** Python version: 2.7.6 (default, Nov 10 2013, 19:24:24) [MSC v.1500 64 bit (AMD64)]
** Windows version: sys.getwindowsversion(major=6, minor=1, build=7601, platform=2, service_pack='Service Pack 1')
** Processor architecture: x64
** Qt-4.8.5 PyQt-4.10.3 QScintilla-2.7.2
Traceback (most recent call last):
File "tortoisehg\hgqt\thread.pyo", line 276, in interact_handler
ValueError: '' is not in list