Crash on Compare with Local when subst drive reassigned.
Created originally on Bitbucket by Anonymous
The workbench remained open on subst drive (P:) reassignment. Days later, I requested a compare with local on a previous version, and TortoiseHg issued a "report this bug" request causing a 20-minute detour. At that point the error wasn't obvious. I later recalled that the workspace was on a subst drive that has been reassigned. A simple message saying "file x is not readable" is preferable.
#!python ** Mercurial version (3.3). TortoiseHg version (3.3) ** Command: --nofork workbench ** CWD: P:\code ** Encoding: cp1252 ** Extensions loaded: strip ** 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\repowidget.pyo", line 1505, in visualDiffToLocal File "tortoisehg\hgqt\visdiff.pyo", line 216, in visualdiff File "mercurial\copies.pyo", line 209, in pathcopies File "mercurial\copies.pyo", line 177, in _forwardcopies File "mercurial\copies.pyo", line 133, in _tracefile File "mercurial\context.pyo", line 965, in ancestors File "mercurial\context.pyo", line 817, in parents File "mercurial\util.pyo", line 450, in __get__ File "mercurial\context.pyo", line 647, in _filenode File "mercurial\revlog.pyo", line 906, in lookup LookupError: data/code/build/startrel_allpro.bat.i@b919fc07d2a8: no match found