changeset 28543 | f7874de435c5 |
parent 27937 | 3d3b4ac369f2 |
child 28579 | f571ea254f75 |
--- a/mercurial/crecord.py Mon Mar 14 15:01:27 2016 +0000 +++ b/mercurial/crecord.py Mon Mar 14 15:01:27 2016 +0000 @@ -54,7 +54,7 @@ This method returns True if curses is found (and that python is built with it) and that the user has the correct flag for the ui. """ - return curses and ui.configbool('experimental', 'crecord', False) + return curses and ui.interface("chunkselector") == "curses" _origstdout = sys.__stdout__ # used by gethw()