tests/test-import-git.t
changeset 38113 0a10f142299d
parent 36063 32695e525586
child 39432 cb70501d8b71
equal deleted inserted replaced
38112:ce307af030a2 38113:0a10f142299d
   564   > 
   564   > 
   565   > EOF
   565   > EOF
   566   >>> fp = open('binary.diff', 'rb')
   566   >>> fp = open('binary.diff', 'rb')
   567   >>> data = fp.read()
   567   >>> data = fp.read()
   568   >>> fp.close()
   568   >>> fp.close()
   569   >>> open('binary.diff', 'wb').write(data.replace(b'\n', b'\r\n'))
   569   >>> open('binary.diff', 'wb').write(data.replace(b'\n', b'\r\n')) and None
   570   $ rm binary2
   570   $ rm binary2
   571   $ hg import --no-commit binary.diff
   571   $ hg import --no-commit binary.diff
   572   applying binary.diff
   572   applying binary.diff
   573 
   573 
   574   $ cd ..
   574   $ cd ..