##// END OF EJS Templates
dirstate-item: use `tracked` instead of `state` during copy detection...
marmoute -
r48909:d86875b7 default
parent child Browse files
Show More
@@ -94,7 +94,7 b' def _dirstatecopies(repo, match=None):'
94 ds = repo.dirstate
94 ds = repo.dirstate
95 c = ds.copies().copy()
95 c = ds.copies().copy()
96 for k in list(c):
96 for k in list(c):
97 if ds[k] not in b'anm' or (match and not match(k)):
97 if not ds.get_entry(k).tracked or (match and not match(k)):
98 del c[k]
98 del c[k]
99 return c
99 return c
100
100
General Comments 0
You need to be logged in to leave comments. Login now