##// END OF EJS Templates
use password obfuscate in when clonning a remote repo with credentials
marcink -
r3452:d778ed1c beta
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
@@ -42,8 +42,6 b' from rhodecode.model.db import Repositor'
42 42 RhodeCodeSetting, RepositoryField
43 43 from rhodecode.lib import helpers as h
44 44 from rhodecode.lib.auth import HasRepoPermissionAny
45 from rhodecode.lib.vcs.backends.base import EmptyChangeset
46
47 45
48 46 log = logging.getLogger(__name__)
49 47
@@ -640,7 +638,8 b' class RepoModel(BaseModel):'
640 638 raise Exception('This path %s is a valid group' % repo_path)
641 639
642 640 log.info('creating repo %s in %s @ %s' % (
643 repo_name, safe_unicode(repo_path), clone_uri
641 repo_name, safe_unicode(repo_path),
642 obfuscate_url_pw(clone_uri)
644 643 )
645 644 )
646 645 backend = get_backend(alias)
General Comments 0
You need to be logged in to leave comments. Login now