equal
deleted
inserted
replaced
459 self.ctx.write(self.text, self.ctx.flags()) |
459 self.ctx.write(self.text, self.ctx.flags()) |
460 |
460 |
461 mode = opts.get('mode','merge') |
461 mode = opts.get('mode','merge') |
462 name_a, name_b, name_base = None, None, None |
462 name_a, name_b, name_base = None, None, None |
463 if mode != 'union': |
463 if mode != 'union': |
464 name_a, name_b, name_base = _picklabels([localfile, |
464 name_a, name_b, name_base = _picklabels([localctx.path(), |
465 otherfile, None], |
465 otherctx.path(), None], |
466 opts.get('label', [])) |
466 opts.get('label', [])) |
467 |
467 |
468 try: |
468 try: |
469 localtext = readctx(localctx) if localctx else readfile(localfile) |
469 localtext = readctx(localctx) if localctx else readfile(localfile) |
470 basetext = readctx(basectx) if basectx else readfile(basefile) |
470 basetext = readctx(basectx) if basectx else readfile(basefile) |