ValueError: overflow in dirstate
I modified a file, right clicked on it in Windows Explorer and selected "Hg Commit". A TortoiseHg Bug Report window popped up with a request to report the bug to the bug tracker (though the link was not current). So here it is:
#!python
** Mercurial version (5.0.2). TortoiseHg version (5.0.2)
** Command: --nofork commit --listfile C:\Users\rdboylan\AppData\Local\Temp\THG505B.tmp
** CWD: C:\Users\rdboylan\Documents\Kornak
** Encoding: cp1252
** Extensions loaded: 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=2, build=9200, platform=2, service_pack='')
** Processor architecture: x64
** Qt-5.9.2 PyQt-5.9.1 QScintilla-2.10.2.dev1711012104
Traceback (most recent call last):
File "tortoisehg\hgqt\status.pyo", line 696, in run
File "mercurial\scmutil.pyo", line 823, in match
File "mercurial\scmutil.pyo", line 814, in matchandpats
File "mercurial\context.pyo", line 1458, in match
File "mercurial\match.pyo", line 219, in match
File "mercurial\match.pyo", line 209, in normalize
File "mercurial\dirstate.pyo", line 552, in normalize
File "mercurial\dirstate.pyo", line 520, in _normalize
File "mercurial\util.pyo", line 1563, in __get__
File "mercurial\dirstate.pyo", line 1356, in filefoldmap
File "mercurial\util.pyo", line 1563, in __get__
File "mercurial\dirstate.pyo", line 1230, in _map
File "mercurial\dirstate.pyo", line 1469, in read
File "mercurial\util.pyo", line 1631, in wrapper
ValueError: overflow in dirstate
At the bottom of the window it say "Your TortoiseHg is up to date." Windows 10.
I tried right-clicking on the parent directory and selecting "Hg Workbench". Similar error.
Both also show "Not a head revision" as my current context with revision "-1+", though the line below in HgWorkbench (which did launch despite the error) is labelled default and tip.