equal
deleted
inserted
replaced
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 - - |