mercurial/simplemerge.py
changeset 33904 1915a5e809ca
parent 33902 f39ba8237ed6
child 33905 61b267a99fea
equal deleted inserted replaced
33903:ed6f64173121 33904:1915a5e809ca
   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)