# HG changeset patch # User Jordi GutiƩrrez Hermoso # Date 2016-03-18 20:14:57 # Node ID 5508cf9a52fe6290a597c756d17f2f1dc9608014 # Parent 1ad0ddf8cccca4c6285598499fbb31de49ddb8ca crecord: rewrite a comment about filtering patches I couldn't parse the previous version. I think the rewrite better expresses the intent of that comment. diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py --- a/mercurial/cmdutil.py +++ b/mercurial/cmdutil.py @@ -148,7 +148,7 @@ def dorecord(ui, repo, commitfunc, cmdsu originaldiff = patch.diff(repo, changes=status, opts=diffopts) originalchunks = patch.parsepatch(originaldiff) - # 1. filter patch, so we have intending-to apply subset of it + # 1. filter patch, since we are intending to apply subset of it try: chunks, newopts = filterfn(ui, originalchunks) except patch.PatchError as err: