Show More
@@ -6,6 +6,7 b'' | |||
|
6 | 6 | # GNU General Public License version 2 or any later version. |
|
7 | 7 | from __future__ import absolute_import |
|
8 | 8 | |
|
9 | import functools | |
|
9 | 10 | import os |
|
10 | 11 | import re |
|
11 | 12 | |
@@ -653,7 +654,7 b' def createchangeset(ui, log, fuzz=60, me' | |||
|
653 | 654 | return 0 |
|
654 | 655 | |
|
655 | 656 | for c in changesets: |
|
656 | c.entries.sort(entitycompare) | |
|
657 | c.entries.sort(key=functools.cmp_to_key(entitycompare)) | |
|
657 | 658 | |
|
658 | 659 | # Sort changesets by date |
|
659 | 660 | |
@@ -706,7 +707,7 b' def createchangeset(ui, log, fuzz=60, me' | |||
|
706 | 707 | d = c(len(l.branchpoints), len(r.branchpoints)) |
|
707 | 708 | return d |
|
708 | 709 | |
|
709 | changesets.sort(cscmp) | |
|
710 | changesets.sort(key=functools.cmp_to_key(cscmp)) | |
|
710 | 711 | |
|
711 | 712 | # Collect tags |
|
712 | 713 |
General Comments 0
You need to be logged in to leave comments.
Login now