Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/cmdutil.py @ 27533:a801d331a022
merge with stable
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 28 Dec 2015 10:11:48 -0600 |
parents | 7e2495bf0ad8 84d686cb62c4 |
children | fa8c491f2deb |
comparison
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) |