parameters: (self, location, url)
docstring: Export the Bazaar repository at the url to the destination location
function: def export(self, location, url):
  
          # type: (str, HiddenText) -> None
  
          """
  
          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(
  
              make_command('export', location, url, rev_options.to_args()),
  
              show_stdout=False,
  
          )
function_tokens: def export ( self , location , url ) : # type: (str, HiddenText) -> None # 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 ( make_command ( 'export' , location , url , rev_options . to_args ( ) ) , show_stdout = False , )