copies: fix some comment in _filter
authorPierre-Yves David <pierre-yves.david@octobus.net>
Fri, 15 Jan 2021 23:47:16 +0100
changeset 46302 599d247af600
parent 46301 9689d3f3f8c5
child 46303 a18e256c4d3b
copies: fix some comment in _filter The scenario the comment describes match case 6, not case 2. Differential Revision: https://phab.mercurial-scm.org/D9793
mercurial/copies.py
--- a/mercurial/copies.py	Sat Jan 16 00:54:33 2021 +0100
+++ b/mercurial/copies.py	Fri Jan 15 23:47:16 2021 +0100
@@ -41,7 +41,7 @@
 
     # When _chain()'ing copies in 'a' (from 'src' via some other commit 'mid')
     # with copies in 'b' (from 'mid' to 'dst'), we can get the different cases
-    # in the following table (not including trivial cases). For example, case 2
+    # in the following table (not including trivial cases). For example, case 6
     # is where a file existed in 'src' and remained under that name in 'mid' and
     # then was renamed between 'mid' and 'dst'.
     #