changeset 24318:8d55286fe5e2

crecord: fix another underbar
author Matt Mackall <mpm@selenic.com>
date Mon, 16 Mar 2015 13:32:28 -0500
parents f559cae7892f
children 6ff513495a8b
files mercurial/crecord.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/crecord.py	Mon Mar 16 13:25:19 2015 -0500
+++ b/mercurial/crecord.py	Mon Mar 16 13:32:28 2015 -0500
@@ -419,7 +419,7 @@
     def __repr__(self):
         return '<hunk %r@%d>' % (self.filename(), self.fromline)
 
-def filterpatch(ui, chunks, chunk_selector):
+def filterpatch(ui, chunks, chunkselector):
     """interactively filter patch chunks into applied-only chunks"""
 
     chunks = list(chunks)
@@ -433,7 +433,7 @@
     uiheaders = [uiheader(h) for h in headers]
     # let user choose headers/hunks/lines, and mark their applied flags
     # accordingly
-    chunk_selector(uiheaders, ui)
+    chunkselector(uiheaders, ui)
     appliedhunklist = []
     for hdr in uiheaders:
         if (hdr.applied and