##// END OF EJS Templates
copies: clarify which case some conditional are handling...
marmoute -
r47127:154ded91 default
parent child Browse files
Show More
@@ -60,13 +60,13 b' def _filter(src, dst, t):'
60
60
61 for k, v in list(t.items()):
61 for k, v in list(t.items()):
62 # remove copies from files that didn't exist
62 # remove copies from files that didn't exist
63 if v not in src:
63 if v not in src: # case 5
64 del t[k]
64 del t[k]
65 # remove criss-crossed copies
65 # remove criss-crossed copies
66 elif k in src and v in dst:
66 elif k in src and v in dst:
67 del t[k]
67 del t[k]
68 # remove copies to files that were then removed
68 # remove copies to files that were then removed
69 elif k not in dst:
69 elif k not in dst: # case 1
70 del t[k]
70 del t[k]
71
71
72
72
General Comments 0
You need to be logged in to leave comments. Login now