##// END OF EJS Templates
copies: eliminate criss-crosses when chaining...
Matt Mackall -
r15976:d1c74c61 stable
parent child Browse files
Show More
@@ -99,6 +99,13 b' def _chain(src, dst, a, b):'
99 if v in src:
99 if v in src:
100 # file is a copy of an existing file
100 # file is a copy of an existing file
101 t[k] = v
101 t[k] = v
102
103 # remove criss-crossed copies
104 for k, v in t.items():
105 if k in src and v in dst:
106 print "bad", k, v
107 del t[k]
108
102 return t
109 return t
103
110
104 def _tracefile(fctx, actx):
111 def _tracefile(fctx, actx):
General Comments 0
You need to be logged in to leave comments. Login now