mercurial/merge.py
changeset 44198 8ad263c3a358
parent 44166 faec51c76b7b
child 44199 7f8bdee0034e
equal deleted inserted replaced
44197:17e12938f8e7 44198:8ad263c3a358
  1254     acceptremote = accept the incoming changes without prompting
  1254     acceptremote = accept the incoming changes without prompting
  1255     """
  1255     """
  1256     if matcher is not None and matcher.always():
  1256     if matcher is not None and matcher.always():
  1257         matcher = None
  1257         matcher = None
  1258 
  1258 
  1259     copy, movewithdir, diverge, renamedelete, dirmove = {}, {}, {}, {}, {}
       
  1260 
       
  1261     # manifests fetched in order are going to be faster, so prime the caches
  1259     # manifests fetched in order are going to be faster, so prime the caches
  1262     [
  1260     [
  1263         x.manifest()
  1261         x.manifest()
  1264         for x in sorted(wctx.parents() + [p2, pa], key=scmutil.intrev)
  1262         for x in sorted(wctx.parents() + [p2, pa], key=scmutil.intrev)
  1265     ]
  1263     ]
  1266 
  1264 
       
  1265     copy, movewithdir, diverge, renamedelete, dirmove = {}, {}, {}, {}, {}
  1267     if followcopies:
  1266     if followcopies:
  1268         ret = copies.mergecopies(repo, wctx, p2, pa)
  1267         ret = copies.mergecopies(repo, wctx, p2, pa)
  1269         copy, movewithdir, diverge, renamedelete, dirmove = ret
  1268         copy, movewithdir, diverge, renamedelete, dirmove = ret
  1270 
  1269 
  1271     boolbm = pycompat.bytestr(bool(branchmerge))
  1270     boolbm = pycompat.bytestr(bool(branchmerge))