"ProgrammingError: depthcache must be warmed before use" when pull after strip
When I rewrite history and there is a desire to simply roll back to "remote history state", then I use 'strip' with 'pull'. First call 'pull' cause error. Second works fine
This is a weird bug. Looks like an evolve bug, but it is reproducible only in TortoiseHg. Only if the strip was made by TortoiseHg. And only for 'pull' in TortoiseHg
it cannot be reproduced in the operations system console.
searching for changes
all local changesets known remotely
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 2.7.17 (v2.7.17:c2f86d86e6, Oct 19 2019, 21:01:17) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 5.5)
** Extensions loaded: absorb, histedit, strip, mq, purge, rebase, relink, transplant, patchbomb, evolve, tortoisehg.util.hgcommands, tortoisehg.util.partialcommit, tortoisehg.util.pipeui, tortoisehg.util.win32ill, tortoisehg.util.hgdispatch
** ProgrammingError: depthcache must be warmed before use
(sent 2 HTTP requests and 551 bytes; received 651 bytes in responses)
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 2.7.17 (v2.7.17:c2f86d86e6, Oct 19 2019, 21:01:17) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 5.5)
** Extensions loaded: absorb, histedit, strip, mq, purge, rebase, relink, transplant, patchbomb, evolve, tortoisehg.util.hgcommands, tortoisehg.util.partialcommit, tortoisehg.util.pipeui, tortoisehg.util.win32ill, tortoisehg.util.hgdispatch
** ProgrammingError: depthcache must be warmed before use
Traceback (most recent call last):
File "hg", line 58, in <module>
File "mercurial\dispatch.pyo", line 113, in run
File "mercurial\dispatch.pyo", line 303, in dispatch
File "mercurial\dispatch.pyo", line 479, in _runcatch
File "mercurial\dispatch.pyo", line 488, in _callcatch
File "mercurial\scmutil.pyo", line 152, in callcatch
File "mercurial\dispatch.pyo", line 469, in _runcatchfunc
File "mercurial\dispatch.pyo", line 1233, in _dispatch
File "mercurial\dispatch.pyo", line 917, in runcommand
File "mercurial\dispatch.pyo", line 1244, in _runcommand
File "mercurial\dispatch.pyo", line 1230, in <lambda>
File "mercurial\util.pyo", line 1867, in check
File "mercurial\util.pyo", line 1867, in check
File "hgext\mq.pyo", line 4226, in mqcommand
File "mercurial\util.pyo", line 1867, in check
File "mercurial\commands.pyo", line 6519, in serve
File "mercurial\server.pyo", line 164, in runservice
File "mercurial\commandserver.pyo", line 469, in run
File "mercurial\commandserver.pyo", line 403, in serve
File "mercurial\commandserver.pyo", line 377, in serveone
File "mercurial\commandserver.pyo", line 358, in runcommand
File "mercurial\commandserver.pyo", line 297, in _dispatchcommand
File "mercurial\dispatch.pyo", line 303, in dispatch
File "mercurial\dispatch.pyo", line 479, in _runcatch
File "mercurial\dispatch.pyo", line 488, in _callcatch
File "mercurial\scmutil.pyo", line 152, in callcatch
File "mercurial\dispatch.pyo", line 469, in _runcatchfunc
File "tortoisehg\util\hgdispatch.pyo", line 23, in _dispatch
File "mercurial\dispatch.pyo", line 1233, in _dispatch
File "mercurial\dispatch.pyo", line 917, in runcommand
File "mercurial\dispatch.pyo", line 1244, in _runcommand
File "mercurial\dispatch.pyo", line 1230, in <lambda>
File "mercurial\util.pyo", line 1867, in check
File "mercurial\util.pyo", line 1867, in check
File "hgext\mq.pyo", line 4226, in mqcommand
File "mercurial\util.pyo", line 1867, in check
File "mercurial\util.pyo", line 1867, in check
File "hgext3rd\evolve\__init__.pyo", line 708, in wrapmayobsoletewc
File "mercurial\util.pyo", line 1867, in check
File "mercurial\util.pyo", line 1867, in check
File "hgext\rebase.pyo", line 2140, in pullrebase
File "mercurial\util.pyo", line 1867, in check
File "mercurial\commands.pyo", line 5465, in pull
File "mercurial\exchange.pyo", line 1827, in pull
File "mercurial\exchange.pyo", line 1693, in _fullpullbundle2
File "mercurial\exchange.pyo", line 2018, in _pullbundle2
File "mercurial\extensions.pyo", line 509, in closure
File "hgext3rd\evolve\obsexchange.pyo", line 71, in _addobscommontob2pull
File "hgext3rd\evolve\obsdiscovery.pyo", line 859, in buildpullobsmarkersboundaries
File "hgext3rd\evolve\obsdiscovery.pyo", line 126, in findmissingrange
File "hgext3rd\evolve\stablerange.pyo", line 648, in rangelength
File "hgext3rd\evolve\stablerange.pyo", line 643, in depthrev
File "hgext3rd\evolve\depthcache.pyo", line 108, in get
mercurial.error.ProgrammingError: depthcache must be warmed before use
cmdserver: process exited unexpectedly with code 255
remarks (some steps):
- sys-cli: strip
- thg: pull (no error)
- thg (or thg-cli): strip
- sys-cli: pull (no error)
- thg: pull (ERROR)
TortoiseHg 5.5. Win10 x64