Mercurial > hg-stable
changeset 46302:599d247af600
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
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 15 Jan 2021 23:47:16 +0100 |
parents | 9689d3f3f8c5 |
children | a18e256c4d3b |
files | mercurial/copies.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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'. #