mercurial/patch.py
changeset 5547 777996744942
parent 5482 e5eedd74e70f
child 5581 8a8c341bd292
--- a/mercurial/patch.py	Tue Nov 20 14:31:58 2007 +0100
+++ b/mercurial/patch.py	Sun Nov 25 11:49:34 2007 +0100
@@ -357,7 +357,7 @@
 
         if len(cand) > 1:
             # resort our list of potentials forward then back.
-            cand.sort(cmp=sorter)
+            cand.sort(sorter)
         return cand
 
     def hashlines(self):