Show More
@@ -111,7 +111,10 b' class GitFactory(RepoFactory):' | |||||
111 | else: |
|
111 | else: | |
112 | # dulwich mode |
|
112 | # dulwich mode | |
113 | repo_path = safe_str(wire['path'], to_encoding=settings.WIRE_ENCODING) |
|
113 | repo_path = safe_str(wire['path'], to_encoding=settings.WIRE_ENCODING) | |
114 |
re |
|
114 | repo = Repo(repo_path) | |
|
115 | ||||
|
116 | log.debug('repository created: got GIT object: %s', repo) | |||
|
117 | return repo | |||
115 |
|
118 | |||
116 | def repo(self, wire, create=False, use_libgit2=False): |
|
119 | def repo(self, wire, create=False, use_libgit2=False): | |
117 | """ |
|
120 | """ |
@@ -152,7 +152,9 b' class MercurialFactory(RepoFactory):' | |||||
152 |
|
152 | |||
153 | def _create_repo(self, wire, create): |
|
153 | def _create_repo(self, wire, create): | |
154 | baseui = self._create_config(wire["config"]) |
|
154 | baseui = self._create_config(wire["config"]) | |
155 |
re |
|
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 | def repo(self, wire, create=False): |
|
159 | def repo(self, wire, create=False): | |
158 | """ |
|
160 | """ |
@@ -83,12 +83,12 b' class SubversionFactory(RepoFactory):' | |||||
83 | or compatible_version |
|
83 | or compatible_version | |
84 | fs_config['compatible-version'] = compatible_version_string |
|
84 | fs_config['compatible-version'] = compatible_version_string | |
85 |
|
85 | |||
86 |
log.debug('Create SVN repo with config |
|
86 | log.debug('Create SVN repo with config `%s`', fs_config) | |
87 | repo = svn.repos.create(path, "", "", None, fs_config) |
|
87 | repo = svn.repos.create(path, "", "", None, fs_config) | |
88 | else: |
|
88 | else: | |
89 | repo = svn.repos.open(path) |
|
89 | repo = svn.repos.open(path) | |
90 |
|
90 | |||
91 |
log.debug(' |
|
91 | log.debug('repository created: got SVN object: %s', repo) | |
92 | return repo |
|
92 | return repo | |
93 |
|
93 | |||
94 | def repo(self, wire, create=False, compatible_version=None): |
|
94 | def repo(self, wire, create=False, compatible_version=None): |
General Comments 0
You need to be logged in to leave comments.
Login now