Crash when opening repository
Created originally on Bitbucket by Kinematics (David)
I get the following error when trying to open a repository that was last used some years ago, using Visual Studio 2015. There were no problems with the repo at the time; I'd just switched to using VS2017 (and a different working directory).
Attempted to open repository using Hg Workbench... context menu in the project folder, as well as using the Repository Registry entry in the THG UI .
#!python
** Mercurial version (4.9). TortoiseHg version (4.9)
** Command: --nofork workbench
** CWD: C:\Users\David\Documents\Visual Studio 2015\Projects\NetTally
** Encoding: cp1252
** Extensions loaded: convert, strip, mq, rebase, eol, histedit, hggit, tortoisehg.util.configitems
** Python version: 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [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-5.9.2 PyQt-5.9.1 QScintilla-2.10.2.dev1711012104
Traceback (most recent call last):
File "tortoisehg\hgqt\repowidget.pyo", line 268, in _initView
File "tortoisehg\hgqt\repowidget.pyo", line 864, in _updateRepoViewForModel
File "tortoisehg\hgqt\repomodel.pyo", line 673, in defaultIndex
File "tortoisehg\hgqt\repomodel.pyo", line 690, in indexFromRev
File "tortoisehg\hgqt\repomodel.pyo", line 414, in _ensureBuilt
File "tortoisehg\hgqt\graph.pyo", line 955, in build_nodes
File "tortoisehg\hgqt\graph.pyo", line 632, in _iter_graphnodes
File "tortoisehg\hgqt\graph.pyo", line 820, in fromchangectx
File "tortoisehg\hgqt\thgrepo.pyo", line 1015, in thgmqappliedpatch
File "tortoisehg\hgqt\thgrepo.pyo", line 1007, in _thgmqpatchtags
File "mercurial\context.pyo", line 453, in tags
File "mercurial\localrepo.pyo", line 1507, in nodetags
File "mercurial\util.pyo", line 1553, in __get__
File "mercurial\localrepo.pyo", line 1428, in _tagscache
File "hggit\hgrepo.pyo", line 51, in _findtags
File "mercurial\node.pyo", line 19, in bin
TypeError: Odd-length string