##// END OF EJS Templates
Merge with stable
Matt Mackall -
r10744:d794ea11 merge default
parent child Browse files
Show More
@@ -178,8 +178,8 b' def extract(ui, fileobj):'
178 178 # (this heuristic is borrowed from quilt)
179 179 diffre = re.compile(r'^(?:Index:[ \t]|diff[ \t]|RCS file: |'
180 180 r'retrieving revision [0-9]+(\.[0-9]+)*$|'
181 r'(---|\*\*\*)[ \t].*?'
182 r'^(\+\+\+|\*\*\*)[ \t])', re.MULTILINE|re.DOTALL)
181 r'---[ \t].*?^\+\+\+[ \t]|'
182 r'\*\*\*[ \t].*?^---[ \t])', re.MULTILINE|re.DOTALL)
183 183
184 184 fd, tmpname = tempfile.mkstemp(prefix='hg-patch-')
185 185 tmpfp = os.fdopen(fd, 'w')
General Comments 0
You need to be logged in to leave comments. Login now