mercurial/merge.py
changeset 37172 daef13da66fe
parent 37125 6f570c501e3e
child 37762 7269b87f817c
equal deleted inserted replaced
37171:d7f3fdab94c4 37172:daef13da66fe
   559         else:
   559         else:
   560             actx = None
   560             actx = None
   561         fcd = self._filectxorabsent(hash, wctx, dfile)
   561         fcd = self._filectxorabsent(hash, wctx, dfile)
   562         fco = self._filectxorabsent(onode, octx, ofile)
   562         fco = self._filectxorabsent(onode, octx, ofile)
   563         # TODO: move this to filectxorabsent
   563         # TODO: move this to filectxorabsent
   564         fca = self._repo.filectx(afile, fileid=anode, changeid=actx)
   564         fca = self._repo.filectx(afile, fileid=anode, changectx=actx)
   565         # "premerge" x flags
   565         # "premerge" x flags
   566         flo = fco.flags()
   566         flo = fco.flags()
   567         fla = fca.flags()
   567         fla = fca.flags()
   568         if 'x' in flags + flo + fla and 'l' not in flags + flo + fla:
   568         if 'x' in flags + flo + fla and 'l' not in flags + flo + fla:
   569             if fca.node() == nullid and flags != flo:
   569             if fca.node() == nullid and flags != flo: