Mercurial > kallithea
changeset 3471:d1004dd51a66
use password obfuscate in when clonning a remote repo with credentials
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 04 Mar 2013 18:44:36 +0100 |
parents | 649ca0cc8a08 |
children | 702da441f5c4 |
files | rhodecode/model/repo.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/model/repo.py Thu Feb 14 23:34:59 2013 +0100 +++ b/rhodecode/model/repo.py Mon Mar 04 18:44:36 2013 +0100 @@ -32,7 +32,7 @@ from rhodecode.lib.vcs.backends import get_backend from rhodecode.lib.compat import json from rhodecode.lib.utils2 import LazyProperty, safe_str, safe_unicode,\ - remove_prefix + remove_prefix, obfuscate_url_pw from rhodecode.lib.caching_query import FromCache from rhodecode.lib.hooks import log_create_repository, log_delete_repository @@ -43,7 +43,6 @@ from rhodecode.lib import helpers as h from rhodecode.lib.auth import HasRepoPermissionAny - log = logging.getLogger(__name__) @@ -624,7 +623,8 @@ raise Exception('This path %s is a valid group' % repo_path) log.info('creating repo %s in %s @ %s' % ( - repo_name, safe_unicode(repo_path), clone_uri + repo_name, safe_unicode(repo_path), + obfuscate_url_pw(clone_uri) ) ) backend = get_backend(alias)