Patchwork [2,of,3] checkcopies: minor change to comment

login
register
mail settings
Submitter Pierre-Yves David
Date Oct. 9, 2016, 2:18 p.m.
Message ID <5801b0cd4ec0de5e9fb4.1476022727@nodosa.octopoid.net>
Download mbox | patch
Permalink /patch/17008/
State Accepted
Headers show

Comments

Pierre-Yves David - Oct. 9, 2016, 2:18 p.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@ens-lyon.org>
# Date 1475946196 -7200
#      Sat Oct 08 19:03:16 2016 +0200
# Node ID 5801b0cd4ec0de5e9fb4129212d08f38fd66716b
# Parent  c06cb63082bf1111571fb6fc24bac2e23feefe00
# EXP-Topic checkcopies
checkcopies: minor change to comment

This helped me understand the refactoring so this must be helpful.

Patch

diff --git a/mercurial/copies.py b/mercurial/copies.py
--- a/mercurial/copies.py
+++ b/mercurial/copies.py
@@ -459,7 +459,7 @@  def _checkcopies(ctx, f, m1, m2, base, l
     check possible copies of f from m1 to m2
 
     ctx = starting context for f in m1
-    f = the filename to check
+    f = the filename to check (as in m1)
     m1 = the source manifest
     m2 = the destination manifest
     base = the changectx used as a merge base