Mercurial > hg
diff hgext/convert/gnuarch.py @ 8209:a1a5a57efe90
replace util.sort with sorted built-in
This is marginally faster for small and moderately-sized lists
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sun, 26 Apr 2009 16:50:44 -0500 |
parents | 127281884959 |
children | 1b60efdb8bc5 |
line wrap: on
line diff
--- a/hgext/convert/gnuarch.py Sun Apr 26 16:50:44 2009 -0500 +++ b/hgext/convert/gnuarch.py Sun Apr 26 16:50:44 2009 -0500 @@ -168,7 +168,7 @@ copies.update(cps) self.lastrev = rev - return util.sort(set(changes)), copies + return sorted(set(changes)), copies def getcommit(self, rev): changes = self.changes[rev]