##// 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 This method returns True if curses is found (and that python is built with
54 This method returns True if curses is found (and that python is built with
55 it) and that the user has the correct flag for the ui.
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 _origstdout = sys.__stdout__ # used by gethw()
59 _origstdout = sys.__stdout__ # used by gethw()
60
60
@@ -4,8 +4,8 b' Set up a repo'
4 $ cat <<EOF >> $HGRCPATH
4 $ cat <<EOF >> $HGRCPATH
5 > [ui]
5 > [ui]
6 > interactive = true
6 > interactive = true
7 > interface = curses
7 > [experimental]
8 > [experimental]
8 > crecord = true
9 > crecordtest = testModeCommands
9 > crecordtest = testModeCommands
10 > EOF
10 > EOF
11
11
General Comments 0
You need to be logged in to leave comments. Login now