Submitter | phabricator |
---|---|
Date | Feb. 21, 2020, 2:05 a.m. |
Message ID | <differential-rev-PHID-DREV-soao57gbwiakwlyk4fdz-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/45280/ |
State | Superseded |
Headers | show |
Comments
marmoute added a comment. marmoute accepted this revision. I would be nice to have test but I assume this is hard. The description seems clear so I trusting Kyle on this one. REPOSITORY rHG Mercurial CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D8141/new/ REVISION DETAIL https://phab.mercurial-scm.org/D8141 To: spectral, #hg-reviewers, marmoute Cc: marmoute, mercurial-devel
Patch
diff --git a/mercurial/commandserver.py b/mercurial/commandserver.py --- a/mercurial/commandserver.py +++ b/mercurial/commandserver.py @@ -545,6 +545,10 @@ if maxlen < 0: raise error.Abort(_(b'negative max-repo-cache size not allowed')) self._repoloader = repocache.repoloader(ui, maxlen) + # attempt to avoid crash in CoreFoundation when using chg after fix in + # a89381e04c58 + if pycompat.isdarwin: + procutil.gui() def init(self): self._sock = socket.socket(socket.AF_UNIX)