mercurial/cmdutil.py
changeset 27533 a801d331a022
parent 27419 7e2495bf0ad8
parent 27531 84d686cb62c4
child 27611 fa8c491f2deb
equal deleted inserted replaced
27527:dbfaf361c062 27533:a801d331a022
    64     selected hunks.
    64     selected hunks.
    65     *operation* is used for ui purposes to indicate the user
    65     *operation* is used for ui purposes to indicate the user
    66     what kind of filtering they are doing: reverting, committing, shelving, etc.
    66     what kind of filtering they are doing: reverting, committing, shelving, etc.
    67     *operation* has to be a translated string.
    67     *operation* has to be a translated string.
    68     """
    68     """
    69     usecurses =  ui.configbool('experimental', 'crecord', False)
    69     usecurses = crecordmod.checkcurses(ui)
    70     testfile = ui.config('experimental', 'crecordtest', None)
    70     testfile = ui.config('experimental', 'crecordtest', None)
    71     oldwrite = setupwrapcolorwrite(ui)
    71     oldwrite = setupwrapcolorwrite(ui)
    72     try:
    72     try:
    73         newchunks, newopts = filterchunks(ui, originalhunks, usecurses,
    73         newchunks, newopts = filterchunks(ui, originalhunks, usecurses,
    74                                           testfile, operation)
    74                                           testfile, operation)