comparison hgext/convert/p4.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 aece3c9e62f1
children 46293a0c7e9f
comparison
equal deleted inserted replaced
8208:32a2a1e244f1 8209:a1a5a57efe90
174 174
175 def gettags(self): 175 def gettags(self):
176 return self.tags 176 return self.tags
177 177
178 def getchangedfiles(self, rev, i): 178 def getchangedfiles(self, rev, i):
179 return util.sort([x[0] for x in self.files[rev]]) 179 return sorted([x[0] for x in self.files[rev]])