changeset 35020 | 7ebf850d3166 |
parent 34908 | 907ff34e1460 |
child 35023 | 3649c3f2cd90 |
--- a/mercurial/patch.py Sat Oct 21 17:01:20 2017 +0900 +++ b/mercurial/patch.py Sat Oct 21 16:50:57 2017 +0900 @@ -203,7 +203,7 @@ # attempt to detect the start of a patch # (this heuristic is borrowed from quilt) - diffre = re.compile(br'^(?:Index:[ \t]|diff[ \t]|RCS file: |' + diffre = re.compile(br'^(?:Index:[ \t]|diff[ \t]-|RCS file: |' br'retrieving revision [0-9]+(\.[0-9]+)*$|' br'---[ \t].*?^\+\+\+[ \t]|' br'\*\*\*[ \t].*?^---[ \t])',