# HG changeset patch # User Matt Mackall # Date 2015-03-16 18:32:28 # Node ID 8d55286fe5e230040ab2e0edaec1cb18e5c8ceeb # Parent f559cae7892f1b5fa2a253fe761a8f64ebd21091 crecord: fix another underbar diff --git a/mercurial/crecord.py b/mercurial/crecord.py --- a/mercurial/crecord.py +++ b/mercurial/crecord.py @@ -419,7 +419,7 @@ class uihunk(patchnode): def __repr__(self): return '' % (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 @@ def filterpatch(ui, chunks, chunk_select 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