mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
03873d9870
Summary: The `sparse` extension's dirstate tracking code attempts to read dirstate data after the command has executed. For commands that didn't require accessing the dirstate, this can end up reading it for the first time, and can this fail in some circumstances. Ignore all errors that occur when trying to compute this telemetry, so they don't break the main command functionality. In particular, we see reproducible scenarios where `hg` crashes due to this error when invoked by watchman to compute the list of files changed between two commits. Watchman currently always invokes Mercurial with `HG_PENDING` enabled, and this can cause dirstate loading to fail when there is pending data. Reviewed By: quark-zju Differential Revision: D20402221 fbshipit-source-id: 782d9b6eff26d50ef20f080c0cbcbc852e425146 |
||
---|---|---|
.. | ||
hgdemandimport | ||
hgext | ||
mercurial | ||
__init__.py | ||
__main__.py | ||
traceimport.py |