Mercurial > kallithea
diff rhodecode/model/scm.py @ 1028:f42ee60e673b beta
fixed issue with db transaction when filesystem creation of repository failed
added extra logging
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 11 Feb 2011 11:30:04 +0100 |
parents | 4f834b0abcd3 |
children | e2ebbb27df4e |
line wrap: on
line diff
--- a/rhodecode/model/scm.py Fri Feb 11 10:39:40 2011 +0100 +++ b/rhodecode/model/scm.py Fri Feb 11 11:30:04 2011 +0100 @@ -185,11 +185,13 @@ try: alias = get_scm(repo_path)[0] - log.debug('Creating instance of %s repository', alias) backend = get_backend(alias) except VCSError: log.error(traceback.format_exc()) + log.error('Perhaps this repository is in db and not in filesystem' + 'run rescan repositories with "destroy old data "' + 'option from admin panel') return if alias == 'hg':