call site 5 for path.svnwc.__cmp__
path/testing/common.py - line 147
146
147
148
149
150
   def test_listdir_sorted(self):
->     l = self.root.listdir(checker(basestarts="sample"), sort=True)
       assert self.root.join('sampledir') == l[0]
       assert self.root.join('samplefile') == l[1]
       assert self.root.join('samplepickle') == l[2]
path/svn/wccommand.py - line 509
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
   def listdir(self, fil=None, sort=None):
       """ return a sequence of Paths.
   
           listdir will return either a tuple or a list of paths
           depending on implementation choices.
           """
       if isinstance(fil, str):
           fil = common.fnmatch(fil)
       # XXX unify argument naming with LocalPath.listdir
       def notsvn(path):
           return path.basename != '.svn' 
   
       paths = []
       for localpath in self.localpath.listdir(notsvn):
           p = self.__class__(localpath, auth=self.auth)
           paths.append(p)
   
       if fil or sort:
           paths = filter(fil, paths)
           paths = isinstance(paths, list) and paths or list(paths)
           if callable(sort):
               paths.sort(sort)
           elif sort:
->             paths.sort()
       return paths