##// END OF EJS Templates
copies: begin separating mergecopies sides
Matt Mackall -
r26316:d5618e21 default
parent child Browse files
Show More
@@ -316,9 +316,9 b' def mergecopies(repo, c1, c2, ca):'
316 316 return fctx
317 317 return util.lrucachefunc(makectx)
318 318
319 copy = {}
320 movewithdir = {}
321 fullcopy = {}
319 copy1, copy2, = {}, {}
320 movewithdir1, movewithdir2 = {}, {}
321 fullcopy1, fullcopy2 = {}, {}
322 322 diverge = {}
323 323
324 324 repo.ui.debug(" searching for copies back to rev %d\n" % limit)
@@ -329,11 +329,15 b' def mergecopies(repo, c1, c2, ca):'
329 329
330 330 for f in u1:
331 331 getfctx = setupctx(c1)
332 checkcopies(getfctx, f, m1, m2, ca, limit, diverge, copy, fullcopy)
332 checkcopies(getfctx, f, m1, m2, ca, limit, diverge, copy1, fullcopy1)
333 333
334 334 for f in u2:
335 335 getfctx = setupctx(c2)
336 checkcopies(getfctx, f, m2, m1, ca, limit, diverge, copy, fullcopy)
336 checkcopies(getfctx, f, m2, m1, ca, limit, diverge, copy2, fullcopy2)
337
338 copy = dict(copy1.items() + copy2.items())
339 movewithdir = dict(movewithdir1.items() + movewithdir2.items())
340 fullcopy = dict(fullcopy1.items() + fullcopy2.items())
337 341
338 342 renamedelete = {}
339 343 renamedelete2 = set()
General Comments 0
You need to be logged in to leave comments. Login now