(self, location, url)
Export the Bazaar repository at the url to the destination location
Export the Bazaar repository at the url to the destination location
Export the Bazaar repository at the url to the destination location
def export(self, location, url):
        """
        Export the Bazaar repository at the url to the destination location
        """
        # Remove the location to make sure Bazaar can export it correctly
        if os.path.exists(location):
            rmtree(location)

        url, rev_options = self.get_url_rev_options(url)
        self.run_command(
            ['export', location, url] + rev_options.to_args(),
            show_stdout=False,
        )
def export ( self , location , url ) : # Remove the location to make sure Bazaar can export it correctly if os . path . exists ( location ) : rmtree ( location ) url , rev_options = self . get_url_rev_options ( url ) self . run_command ( [ 'export' , location , url ] + rev_options . to_args ( ) , show_stdout = False , )