diff --git a/swh/loader/svn/loader.py b/swh/loader/svn/loader.py --- a/swh/loader/svn/loader.py +++ b/swh/loader/svn/loader.py @@ -271,12 +271,6 @@ revision_start: self.latest_revision.parents, } - self.log.debug( - "svn export --ignore-keywords %s@%s", - self.svnrepo.remote_url, - revision_start, - ) - if not self.check_history_not_altered(revision_start, self.latest_revision): self.log.debug( ( diff --git a/swh/loader/svn/svn.py b/swh/loader/svn/svn.py --- a/swh/loader/svn/svn.py +++ b/swh/loader/svn/svn.py @@ -230,6 +230,9 @@ with tempfile.TemporaryDirectory( dir=self.local_dirname, prefix=f"checkout-revision-{revision}." ) as co_dirname: + logger.debug( + "svn checkout --ignore-externals %s@%s", self.remote_url, revision, + ) self.client.checkout( self.remote_url, co_dirname, revision, ignore_externals=True ) @@ -269,8 +272,12 @@ break try: + url = url.rstrip("/") + logger.debug( + "svn export --ignore-keywords %s@%s", url, revision, + ) self.client.export( - url.rstrip("/"), + url, to=local_url, rev=revision, ignore_keywords=True,