[PATCH 1 of 3] crecord: rewrite a comment about filtering patches

Jordi GutiƩrrez Hermoso jordigh at octave.org
Fri Mar 18 16:45:36 EDT 2016


# HG changeset patch
# User Jordi GutiƩrrez Hermoso <jordigh at octave.org>
# Date 1458332097 14400
#      Fri Mar 18 16:14:57 2016 -0400
# Node ID 81813cad034146e598955b2b726093340a1c4c22
# Parent  ed75909c4c670a7d9db4a2bef9817a0d5f0b4d9c
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:


More information about the Mercurial-devel mailing list