Comments
Patch
@@ -64,11 +64,11 @@ def recordfilter(ui, originalhunks, oper
selected hunks.
*operation* is used for ui purposes to indicate the user
what kind of filtering they are doing: reverting, committing, shelving, etc.
*operation* has to be a translated string.
"""
- usecurses = ui.configbool('experimental', 'crecord', False)
+ usecurses = crecordmod.checkcurses(ui)
testfile = ui.config('experimental', 'crecordtest', None)
oldwrite = setupwrapcolorwrite(ui)
try:
newchunks = filterchunks(ui, originalhunks, usecurses, testfile,
operation)