def export(self, location):
<EOL>if os.path.exists(location):<EOL><INDENT>rmtree(location)<EOL><DEDENT>with TempDirectory(kind="<STR_LIT>") as temp_dir:<EOL><INDENT>self.unpack(temp_dir.path)<EOL>self.run_command(<EOL>['<STR_LIT>', location],<EOL>cwd=temp_dir.path, show_stdout=False,<EOL>)<EOL><DEDENT>
Export the Bazaar repository at the url to the destination location