mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 09:17:30 +03:00
38756127f2
Summary: There are times when status updates the dirstate to mark files as clean or to resolve lookup files. In doing so it takes the wlock, which triggers a state-enter event which causes external watchers to then run hg status, which can then trigger another wlock event from status. This causes an infinite loop. It's not clear why status is taking the wlock every time. It should be a one-time thing. So more investigation is needed. For now though, we can prevent this from happening by disabling hgevent signals while status has the wlock. Reviewed By: quark-zju Differential Revision: D19602370 fbshipit-source-id: 609316de1441d40be4f81236b8d00ce7dc30a130 |
||
---|---|---|
.. | ||
hgdemandimport | ||
hgext | ||
mercurial | ||
__init__.py | ||
traceimport.py |