mercurial/pure/diffhelpers.py
changeset 12387 4f8067c94729
parent 10551 f61dced1367a
child 27336 80214358ac88
--- a/mercurial/pure/diffhelpers.py	Thu Sep 23 10:59:21 2010 +0200
+++ b/mercurial/pure/diffhelpers.py	Thu Sep 23 00:02:31 2010 -0500
@@ -41,9 +41,9 @@
         hline = l[:-1]
     c = hline[0]
 
-    if c == " " or c == "+":
+    if c in " +":
         b[-1] = hline[1:]
-    if c == " " or c == "-":
+    if c in " -":
         a[-1] = hline
     hunk[-1] = hline
     return 0