mercurial/simplemerge.py
changeset 7280 810ca383da9c
parent 6212 e75aab656f46
child 8269 bb9f13974d8e
equal deleted inserted replaced
7279:1f0f84660dea 7280:810ca383da9c
   430 
   430 
   431     localtext = readfile(local)
   431     localtext = readfile(local)
   432     basetext = readfile(base)
   432     basetext = readfile(base)
   433     othertext = readfile(other)
   433     othertext = readfile(other)
   434 
   434 
   435     orig = local
       
   436     local = os.path.realpath(local)
   435     local = os.path.realpath(local)
   437     if not opts.get('print'):
   436     if not opts.get('print'):
   438         opener = util.opener(os.path.dirname(local))
   437         opener = util.opener(os.path.dirname(local))
   439         out = opener(os.path.basename(local), "w", atomictemp=True)
   438         out = opener(os.path.basename(local), "w", atomictemp=True)
   440     else:
   439     else: