Show More
@@ -567,11 +567,15 def createchangeset(ui, log, fuzz=60, me | |||
|
567 | 567 | mindate = {} |
|
568 | 568 | for e in log: |
|
569 | 569 | if e.commitid: |
|
570 |
|
|
|
570 | if e.commitid not in mindate: | |
|
571 | mindate[e.commitid] = e.date | |
|
572 | else: | |
|
573 | mindate[e.commitid] = min(e.date, mindate[e.commitid]) | |
|
571 | 574 | |
|
572 | 575 | # Merge changesets |
|
573 |
log.sort(key=lambda x: (mindate.get(x.commitid), |
|
|
574 |
x. |
|
|
576 | log.sort(key=lambda x: (mindate.get(x.commitid, (-1, 0)), | |
|
577 | x.commitid or '', x.comment, | |
|
578 | x.author, x.branch or '', x.date, x.branchpoints)) | |
|
575 | 579 | |
|
576 | 580 | changesets = [] |
|
577 | 581 | files = set() |
General Comments 0
You need to be logged in to leave comments.
Login now