mercurial/localrepo.py
changeset 45065 b8f4ead9fa49
parent 45064 41b32cbc53f8
child 45084 07b3166e94ca
equal deleted inserted replaced
45064:41b32cbc53f8 45065:b8f4ead9fa49
  2897                 ):
  2897                 ):
  2898                     fparent1, fparent2 = fparent2, nullid
  2898                     fparent1, fparent2 = fparent2, nullid
  2899 
  2899 
  2900         # is the file changed?
  2900         # is the file changed?
  2901         text = fctx.data()
  2901         text = fctx.data()
  2902         if fparent2 != nullid or flog.cmp(fparent1, text) or meta:
  2902         if fparent2 != nullid or meta or flog.cmp(fparent1, text):
  2903             changelist.append(fname)
  2903             changelist.append(fname)
  2904             return flog.add(text, meta, tr, linkrev, fparent1, fparent2)
  2904             return flog.add(text, meta, tr, linkrev, fparent1, fparent2)
  2905         # are just the flags changed during merge?
  2905         # are just the flags changed during merge?
  2906         elif fname in manifest1 and manifest1.flags(fname) != fctx.flags():
  2906         elif fname in manifest1 and manifest1.flags(fname) != fctx.flags():
  2907             changelist.append(fname)
  2907             changelist.append(fname)