def export(self, location):
url, rev = self.get_url_rev()<EOL>rev_options = get_rev_options(url, rev)<EOL>logger.notify('<STR_LIT>' % (url, location))<EOL>logger.indent += <NUM_LIT:2><EOL>try:<EOL><INDENT>if os.path.exists(location):<EOL><INDENT>rmtree(location)<EOL><DEDENT>call_subprocess(<EOL>[self.cmd, '<STR_LIT>'] + rev_options + [url, location],<EOL>filter_stdout=self._filter, show_stdout=False)<EOL><DEDENT>finally:<EOL><INDENT>logger.indent -= <NUM_LIT:2><EOL><DEDENT>
Export the svn repository at the url to the destination location