##// END OF EJS Templates
convert: stabilize subversion date sorter...
marmoute -
r51780:8edfd28a default
parent child Browse files
Show More
@@ -435,7 +435,13 b' class converter:'
435 """Sort revisions by date."""
435 """Sort revisions by date."""
436
436
437 def getdate(n):
437 def getdate(n):
438 return dateutil.parsedate(self.commitcache[n].date)
438 commit = self.commitcache[n]
439 # The other entries are here as tie breaker for stability
440 return (
441 dateutil.parsedate(commit.date),
442 commit.rev,
443 commit.branch,
444 )
439
445
440 return keysorter(getdate)
446 return keysorter(getdate)
441
447
General Comments 0
You need to be logged in to leave comments. Login now