code: def pull(self, url):
          
          url = self._get_url(url)
          try:
              pull(self.baseui, self._repo, url)
          except Abort, err:
              # Propagate error but with vcs's type
              raise RepositoryError(str(err))
docs: Tries to pull changes from external location.