Mercurial > hg
diff mercurial/localrepo.py @ 29835:bff109e6398a
crecord: restore SIGWINCH handler before return
Previously, the SIGWINCH handler does not get cleared and if the commit
message editor also needs SIGWINCH handling (like vim), the two SIGWINCH
handlers (the editor's, ours) will have a race. And we may erase the
editor's screen content.
This patch restores SIGWINCH handler to address the above issue.
author | Jun Wu <quark@fb.com> |
---|---|
date | Wed, 24 Aug 2016 11:24:07 +0100 |
parents | 93b44aa17691 |
children | 0c8c388c7d62 |