equal
deleted
inserted
replaced
541 c2 = getfctx(of, m2[of]) |
541 c2 = getfctx(of, m2[of]) |
542 # c2 might be a plain new file on added on destination side that is |
542 # c2 might be a plain new file on added on destination side that is |
543 # unrelated to the droids we are looking for. |
543 # unrelated to the droids we are looking for. |
544 cr = _related(oc, c2, base.rev()) |
544 cr = _related(oc, c2, base.rev()) |
545 if cr and (of == f or of == c2.path()): # non-divergent |
545 if cr and (of == f or of == c2.path()): # non-divergent |
546 data['copy'][f] = of |
546 if of in mb: |
|
547 data['copy'][f] = of |
547 return |
548 return |
548 |
549 |
549 if of in mb: |
550 if of in mb: |
550 data['diverge'].setdefault(of, []).append(f) |
551 data['diverge'].setdefault(of, []).append(f) |
551 |
552 |