Mercurial > hg
diff mercurial/manifest.c @ 27532:1be02894dd6f stable
crecord: stop raising error.Abort if curses is not found (issue5008)
On some servers, python curses support is disabled. This patch not only fixes
that but provides a fallback on other machines (e.g. Windows) when curses is
not found.
The previous code was actually flawed logic and relied on wcurses throwing an
ImportError which demandimport wouldn't throw. So, this patch also fixes that
problem.
author | Sean Farley <sean@farley.io> |
---|---|
date | Wed, 16 Dec 2015 10:39:00 -0800 |
parents | 89c2bf63a83b |
children | 7b8b6e3b3571 |