# HG changeset patch # User Pierre-Yves David # Date 2021-01-15 22:47:16 # Node ID 599d247af6001bb0e8278cf9384a359ea0b74f6e # Parent 9689d3f3f8c5475cfd6e4122aad19d4cb899ef74 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 diff --git a/mercurial/copies.py b/mercurial/copies.py --- a/mercurial/copies.py +++ b/mercurial/copies.py @@ -41,7 +41,7 @@ def _filter(src, dst, t): # 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'. #