##// END OF EJS Templates
use password obfuscate in when clonning a remote repo with credentials
marcink -
r3471:d1004dd5 default
parent child Browse files
Show More
@@ -32,7 +32,7 b' from datetime import datetime'
32 32 from rhodecode.lib.vcs.backends import get_backend
33 33 from rhodecode.lib.compat import json
34 34 from rhodecode.lib.utils2 import LazyProperty, safe_str, safe_unicode,\
35 remove_prefix
35 remove_prefix, obfuscate_url_pw
36 36 from rhodecode.lib.caching_query import FromCache
37 37 from rhodecode.lib.hooks import log_create_repository, log_delete_repository
38 38
@@ -43,7 +43,6 b' from rhodecode.model.db import Repositor'
43 43 from rhodecode.lib import helpers as h
44 44 from rhodecode.lib.auth import HasRepoPermissionAny
45 45
46
47 46 log = logging.getLogger(__name__)
48 47
49 48
@@ -624,7 +623,8 b' class RepoModel(BaseModel):'
624 623 raise Exception('This path %s is a valid group' % repo_path)
625 624
626 625 log.info('creating repo %s in %s @ %s' % (
627 repo_name, safe_unicode(repo_path), clone_uri
626 repo_name, safe_unicode(repo_path),
627 obfuscate_url_pw(clone_uri)
628 628 )
629 629 )
630 630 backend = get_backend(alias)
General Comments 0
You need to be logged in to leave comments. Login now