'return a sequence of Paths.
listdir will return either a tuple or a list of paths
depending on implementation choices.'

def listdir(self, fil=None, sort=None):

    if isinstance(fil, str):
        fil = common.FNMatcher(fil)
    def notsvn(path):
        return (path.basename != '.svn')
    paths = []
    for localpath in self.localpath.listdir(notsvn):
        p = self.__class__(localpath, auth=self.auth)
        if (notsvn(p) and ((not fil) or fil(p))):
            paths.append(p)
    self._sortlist(paths, sort)
    return paths
