##// END OF EJS Templates
issue1578: fix crash: do not use synthetic changesets as merge parents.
Greg Ward -
r7950:9bbcfa89 default
parent child Browse files
Show More
@@ -601,8 +601,9 def createchangeset(ui, log, fuzz=60, me
601 m = m.group(1)
601 m = m.group(1)
602 if m == 'HEAD':
602 if m == 'HEAD':
603 m = None
603 m = None
604 if m in branches and c.branch != m:
604 candidate = changesets[branches[m]]
605 c.parents.append(changesets[branches[m]])
605 if m in branches and c.branch != m and not candidate.synthetic:
606 c.parents.append(candidate)
606
607
607 if mergeto:
608 if mergeto:
608 m = mergeto.search(c.comment)
609 m = mergeto.search(c.comment)
General Comments 0
You need to be logged in to leave comments. Login now