diff hgext/record.py @ 8811:8b35b08724eb

Make mq, record and transplant honor patch.eol
author Patrick Mezard <pmezard@gmail.com>
date Mon, 15 Jun 2009 00:03:27 +0200
parents d4c545dc6f87
children 868670dbc237
line wrap: on
line diff
--- a/hgext/record.py	Mon Jun 15 00:03:26 2009 +0200
+++ b/hgext/record.py	Mon Jun 15 00:03:27 2009 +0200
@@ -481,7 +481,8 @@
                     ui.debug(_('applying patch\n'))
                     ui.debug(fp.getvalue())
                     pfiles = {}
-                    patch.internalpatch(fp, ui, 1, repo.root, files=pfiles)
+                    patch.internalpatch(fp, ui, 1, repo.root, files=pfiles,
+                                        eolmode=None)
                     patch.updatedir(ui, repo, pfiles)
                 except patch.PatchError, err:
                     s = str(err)