diff -r 6fce36336e42 -r ac92775b3b80 mercurial/commands.py --- a/mercurial/commands.py Sun Jun 14 13:32:19 2009 -0700 +++ b/mercurial/commands.py Mon Jun 15 00:03:26 2009 +0200 @@ -1764,7 +1764,7 @@ files = {} try: patch.patch(tmpname, ui, strip=strip, cwd=repo.root, - files=files) + files=files, eolmode=None) finally: files = patch.updatedir(ui, repo, files, similarity=sim/100.) if not opts.get('no_commit'):