diff mercurial/patch.py @ 10524:3212afb33116 stable

patch: fix patching with fuzz and eol normalization
author Patrick Mezard <pmezard@gmail.com>
date Mon, 22 Feb 2010 22:55:58 +0100
parents 5fe51d348daf
children e764f24a45ee 7a5931c5f2dc
line wrap: on
line diff
--- a/mercurial/patch.py	Sun Feb 21 15:26:55 2010 +0100
+++ b/mercurial/patch.py	Mon Feb 22 22:55:58 2010 +0100
@@ -657,6 +657,7 @@
         nh = hunk(self.desc, self.number, None, None, False, False)
         nh.number = self.number
         nh.desc = self.desc
+        nh.hunk = self.hunk
         nh.a = normalize(self.a)
         nh.b = normalize(self.b)
         nh.starta = self.starta