mercurial/patch.py
changeset 34013 da07367d683b
parent 33884 5707bfe04deb
child 34042 c0170d88ed2b
equal deleted inserted replaced
34012:dcfdf4d09663 34013:da07367d683b
  2280         buildopts['ignorews'] = get('ignore_all_space', 'ignorews')
  2280         buildopts['ignorews'] = get('ignore_all_space', 'ignorews')
  2281         buildopts['ignorewsamount'] = get('ignore_space_change',
  2281         buildopts['ignorewsamount'] = get('ignore_space_change',
  2282                                           'ignorewsamount')
  2282                                           'ignorewsamount')
  2283         buildopts['ignoreblanklines'] = get('ignore_blank_lines',
  2283         buildopts['ignoreblanklines'] = get('ignore_blank_lines',
  2284                                             'ignoreblanklines')
  2284                                             'ignoreblanklines')
       
  2285         buildopts['ignorewseol'] = get('ignore_space_at_eol', 'ignorewseol')
  2285     if formatchanging:
  2286     if formatchanging:
  2286         buildopts['text'] = opts and opts.get('text')
  2287         buildopts['text'] = opts and opts.get('text')
  2287         binary = None if opts is None else opts.get('binary')
  2288         binary = None if opts is None else opts.get('binary')
  2288         buildopts['nobinary'] = (not binary if binary is not None
  2289         buildopts['nobinary'] = (not binary if binary is not None
  2289                                  else get('nobinary', forceplain=False))
  2290                                  else get('nobinary', forceplain=False))