mercurial.error.ProgrammingError: calling `wrap` after the dirstate was invalidated
The following bugreport was generated when trying to update to another branch in my project:
** Mercurial version (6.4.2). TortoiseHg version (6.4.2)
** Command:
** CWD: C:\Users\Desktop
** Encoding: cp1252
** Extensions loaded: convert, largefiles, mercurial_keyring unknown, mq, strip, tortoisehg.util.configitems
** Python version: 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:36:42) [MSC v.1929 64 bit (AMD64)]
** Windows version: sys.getwindowsversion(major=6, minor=2, build=9200, platform=2, service_pack='')
** Processor architecture: x64
** Qt-5.15.2 PyQt-5.15.7 QScintilla-2.13.3
Traceback (most recent call last):
File "tortoisehg\hgqt\wctxcleaner.pyc", line 62, in run
File "tortoisehg\hgqt\wctxcleaner.pyc", line 37, in _checkchanged
File "hgext\largefiles\overrides.pyc", line 1380, in overridebailifchanged
File "mercurial\cmdutil.pyc", line 1133, in bailifchanged
File "mercurial\localrepo.pyc", line 244, in wrapper
File "hgext\largefiles\reposetup.pyc", line 114, in status
File "mercurial\localrepo.pyc", line 3388, in status
File "mercurial\context.pyc", line 432, in status
File "mercurial\context.pyc", line 2001, in _buildstatus
File "mercurial\context.pyc", line 1924, in _dirstatestatus
File "mercurial\context.pyc", line 1871, in _poststatusfixup
File "mercurial\dirstate.pyc", line 84, in wrap
mercurial.error.ProgrammingError: calling `wrap` after the dirstate was invalidated
Edited by Matt Harbison