diff --git a/vcsserver/remote/git.py b/vcsserver/remote/git.py --- a/vcsserver/remote/git.py +++ b/vcsserver/remote/git.py @@ -111,7 +111,10 @@ class GitFactory(RepoFactory): else: # dulwich mode repo_path = safe_str(wire['path'], to_encoding=settings.WIRE_ENCODING) - return Repo(repo_path) + repo = Repo(repo_path) + + log.debug('repository created: got GIT object: %s', repo) + return repo def repo(self, wire, create=False, use_libgit2=False): """ diff --git a/vcsserver/remote/hg.py b/vcsserver/remote/hg.py --- a/vcsserver/remote/hg.py +++ b/vcsserver/remote/hg.py @@ -152,7 +152,9 @@ class MercurialFactory(RepoFactory): def _create_repo(self, wire, create): baseui = self._create_config(wire["config"]) - return instance(baseui, safe_bytes(wire["path"]), create) + repo = instance(baseui, safe_bytes(wire["path"]), create) + log.debug('repository created: got HG object: %s', repo) + return repo def repo(self, wire, create=False): """ diff --git a/vcsserver/remote/svn.py b/vcsserver/remote/svn.py --- a/vcsserver/remote/svn.py +++ b/vcsserver/remote/svn.py @@ -83,12 +83,12 @@ class SubversionFactory(RepoFactory): or compatible_version fs_config['compatible-version'] = compatible_version_string - log.debug('Create SVN repo with config "%s"', fs_config) + log.debug('Create SVN repo with config `%s`', fs_config) repo = svn.repos.create(path, "", "", None, fs_config) else: repo = svn.repos.open(path) - log.debug('Got SVN object: %s', repo) + log.debug('repository created: got SVN object: %s', repo) return repo def repo(self, wire, create=False, compatible_version=None):