Manifest Context Menu -> File History croaks when done on a new (empty) repo
Created originally on Bitbucket by Rick Jensen
With a new, 100% empty repo, right-clicking on the Manifest pane(in the white space) and selecting File History from the context menu causes an error.
That command probably shouldn't be available unless an actual file was selected, since it doesn't make sense unless there is a file to get the history of.
Error output:
{{{ #!python ** Mercurial version (1.8.3). TortoiseHg version (2.0.4) ** Command: --nofork workbench ** CWD: D:\VisualStudio2010\Projects\hg-git ** Extensions loaded: fixfrozenexts, fetch, gestalt, kilnauth, kilnpath, svnblame, big-push, nobranch, kiln, caseguard, kbfiles, relink, notify, children, transplant, zeroconf, churn, graphlog, hgk, interhg, parentrevspec, keyword, rebase, purge, record, bugzilla, mq, share, convert, eol, extdiff, gpg, highlight, perfarce, hggit ** Python version: 2.6.6 (r266:84297, Aug 24 2010, 18:13:38) [MSC v.1500 64 bit (AMD64)] ** Windows version: (6, 1, 7601, 2, 'Service Pack 1') ** Processor architecture: x64 ** Qt-4.7.1 PyQt-4.8.3 Traceback (most recent call last): File "tortoisehg\hgqt\manifestdialog.pyo", line 227, in navigate File "tortoisehg\hgqt\manifestdialog.pyo", line 282, in _navigate File "tortoisehg\hgqt\filedialogs.pyo", line 104, in init File "tortoisehg\hgqt\filedialogs.pyo", line 53, in init File "tortoisehg\hgqt\filedialogs.pyo", line 73, in findLexer File "mercurial\localrepo.pyo", line 571, in file IndexError: string index out of range
}}}