diff hgext/mq.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 51c29aec0b75
children 6e6f5b80e056
line wrap: on
line diff
--- a/hgext/mq.py	Mon Jun 15 00:03:26 2009 +0200
+++ b/hgext/mq.py	Mon Jun 15 00:03:27 2009 +0200
@@ -507,7 +507,7 @@
         files = {}
         try:
             fuzz = patch.patch(patchfile, self.ui, strip=1, cwd=repo.root,
-                               files=files)
+                               files=files, eolmode=None)
         except Exception, inst:
             self.ui.note(str(inst) + '\n')
             if not self.ui.verbose: