'Export the svn repository at the url to the destination location'

def export(self, location):

    (url, rev) = self.get_url_rev()
    rev_options = get_rev_options(url, rev)
    logger.notify(('Exporting    svn    repository    %s    to    %s' % (url, location)))
    logger.indent += 2
    try:
        if os.path.exists(location):
            rmtree(location)
        call_subprocess((([self.cmd, 'export'] + rev_options) + [url, location]), filter_stdout=self._filter, show_stdout=False)
    finally:
        logger.indent -= 2
