##// END OF EJS Templates
crecord: use ui.interface to choose curses interface...
Simon Farnsworth -
r28543:f7874de4 default
parent child Browse files
Show More
@@ -54,7 +54,7 b' def checkcurses(ui):'
54 54 This method returns True if curses is found (and that python is built with
55 55 it) and that the user has the correct flag for the ui.
56 56 """
57 return curses and ui.configbool('experimental', 'crecord', False)
57 return curses and ui.interface("chunkselector") == "curses"
58 58
59 59 _origstdout = sys.__stdout__ # used by gethw()
60 60
@@ -4,8 +4,8 b' Set up a repo'
4 4 $ cat <<EOF >> $HGRCPATH
5 5 > [ui]
6 6 > interactive = true
7 > interface = curses
7 8 > [experimental]
8 > crecord = true
9 9 > crecordtest = testModeCommands
10 10 > EOF
11 11
General Comments 0
You need to be logged in to leave comments. Login now