parameters: (self, location, url)
docstring: Export the Bazaar repository at the url to the destination location
docstring_summary: Export the Bazaar repository at the url to the destination location
docstring_tokens: Export the Bazaar repository at the url to the destination location
function: 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,
          )
function_tokens: 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 , )