# HG changeset patch # User Sebastien Jodogne # Date 1607769400 -3600 # Node ID 8d6e94423004167f24c1e4d0532e1cae4aa10a23 # Parent 3af5dda675201b9854cbf8190fccb98ae3df1e62 dos2unix in hg import diff -r 3af5dda67520 -r 8d6e94423004 Sphinx/source/developers/repositories.rst --- a/Sphinx/source/developers/repositories.rst Thu Dec 10 18:10:32 2020 +0100 +++ b/Sphinx/source/developers/repositories.rst Sat Dec 12 11:36:40 2020 +0100 @@ -197,7 +197,12 @@ $ hg up -c default $ hg import /tmp/contribution.patch +NB: If the ``hg export`` command was run on Microsoft Windows, one +might have to convert the end-of-lines from DOS (CR/LF) to UNIX (LF +only) using the ``dos2unix`` command, before running ``hg import``. +Otherwise, errors like ``Hunk #1 FAILED`` might show up. + .. _hg-bundle: Exchanging a bundle