mercurial/patch.py
changeset 44452 9d2b2df2c2ba
parent 44247 c443b9ba6f63
child 44759 e58422afbc74
equal deleted inserted replaced
44449:ff72bd52d56a 44452:9d2b2df2c2ba
  2886     before and f2 is the the name after. For added files, f1 will be None,
  2886     before and f2 is the the name after. For added files, f1 will be None,
  2887     and for removed files, f2 will be None. copyop may be set to None, 'copy'
  2887     and for removed files, f2 will be None. copyop may be set to None, 'copy'
  2888     or 'rename' (the latter two only if opts.git is set).'''
  2888     or 'rename' (the latter two only if opts.git is set).'''
  2889     gone = set()
  2889     gone = set()
  2890 
  2890 
  2891     copyto = dict([(v, k) for k, v in copy.items()])
  2891     copyto = {v: k for k, v in copy.items()}
  2892 
  2892 
  2893     addedset, removedset = set(added), set(removed)
  2893     addedset, removedset = set(added), set(removed)
  2894 
  2894 
  2895     for f in sorted(modified + added + removed):
  2895     for f in sorted(modified + added + removed):
  2896         copyop = None
  2896         copyop = None