mercurial/copies.py
changeset 46302 599d247af600
parent 46184 cb8b2ee89a5d
child 46397 f213b250fed0
equal deleted inserted replaced
46301:9689d3f3f8c5 46302:599d247af600
    39 def _filter(src, dst, t):
    39 def _filter(src, dst, t):
    40     """filters out invalid copies after chaining"""
    40     """filters out invalid copies after chaining"""
    41 
    41 
    42     # When _chain()'ing copies in 'a' (from 'src' via some other commit 'mid')
    42     # When _chain()'ing copies in 'a' (from 'src' via some other commit 'mid')
    43     # with copies in 'b' (from 'mid' to 'dst'), we can get the different cases
    43     # with copies in 'b' (from 'mid' to 'dst'), we can get the different cases
    44     # in the following table (not including trivial cases). For example, case 2
    44     # in the following table (not including trivial cases). For example, case 6
    45     # is where a file existed in 'src' and remained under that name in 'mid' and
    45     # is where a file existed in 'src' and remained under that name in 'mid' and
    46     # then was renamed between 'mid' and 'dst'.
    46     # then was renamed between 'mid' and 'dst'.
    47     #
    47     #
    48     # case src mid dst result
    48     # case src mid dst result
    49     #   1   x   y   -    -
    49     #   1   x   y   -    -