##// END OF EJS Templates
logging: added few usefull log entries
super-admin -
r1106:8665da11 python3
parent child Browse files
Show More
@@ -111,7 +111,10 b' class GitFactory(RepoFactory):'
111 111 else:
112 112 # dulwich mode
113 113 repo_path = safe_str(wire['path'], to_encoding=settings.WIRE_ENCODING)
114 return Repo(repo_path)
114 repo = Repo(repo_path)
115
116 log.debug('repository created: got GIT object: %s', repo)
117 return repo
115 118
116 119 def repo(self, wire, create=False, use_libgit2=False):
117 120 """
@@ -152,7 +152,9 b' class MercurialFactory(RepoFactory):'
152 152
153 153 def _create_repo(self, wire, create):
154 154 baseui = self._create_config(wire["config"])
155 return instance(baseui, safe_bytes(wire["path"]), create)
155 repo = instance(baseui, safe_bytes(wire["path"]), create)
156 log.debug('repository created: got HG object: %s', repo)
157 return repo
156 158
157 159 def repo(self, wire, create=False):
158 160 """
@@ -83,12 +83,12 b' class SubversionFactory(RepoFactory):'
83 83 or compatible_version
84 84 fs_config['compatible-version'] = compatible_version_string
85 85
86 log.debug('Create SVN repo with config "%s"', fs_config)
86 log.debug('Create SVN repo with config `%s`', fs_config)
87 87 repo = svn.repos.create(path, "", "", None, fs_config)
88 88 else:
89 89 repo = svn.repos.open(path)
90 90
91 log.debug('Got SVN object: %s', repo)
91 log.debug('repository created: got SVN object: %s', repo)
92 92 return repo
93 93
94 94 def repo(self, wire, create=False, compatible_version=None):
General Comments 0
You need to be logged in to leave comments. Login now