mercurial/patch.py
changeset 16686 67964cda8701
parent 16683 525fdb738975
child 16687 e34106fa0dc3
--- a/mercurial/patch.py	Sat May 12 16:00:53 2012 +0200
+++ b/mercurial/patch.py	Sat May 12 16:00:57 2012 +0200
@@ -1659,7 +1659,7 @@
                 if line.startswith('@'):
                     head = False
             else:
-                if line and not line[0] in ' +-@\\':
+                if line and line[0] not in ' +-@\\':
                     head = True
             stripline = line
             if not head and line and line[0] in '+-':