##// END OF EJS Templates
Stop patch description import at diff -r...
Matt Mackall -
r614:6bff574d default
parent child Browse files
Show More
@@ -586,7 +586,7 b' def import_(ui, repo, patch1, *patches, '
586
586
587 text = ""
587 text = ""
588 for l in file(pf):
588 for l in file(pf):
589 if l[:4] == "--- ": break
589 if l.startswith("--- ") or l.startswith("diff -r"): break
590 text += l
590 text += l
591
591
592 # parse values that exist when importing the result of an hg export
592 # parse values that exist when importing the result of an hg export
General Comments 0
You need to be logged in to leave comments. Login now