Mercurial > kallithea
diff rhodecode/model/scm.py @ 1265:08ac2c3ae810 beta
added some info to corrupted repo message that helps diagnose the cause from log itself.
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 17 Apr 2011 16:26:40 +0200 |
parents | c93234e9ac36 |
children | faaadfc3c359 |
line wrap: on
line diff
--- a/rhodecode/model/scm.py Sun Apr 17 14:45:16 2011 +0200 +++ b/rhodecode/model/scm.py Sun Apr 17 16:26:40 2011 +0200 @@ -140,7 +140,9 @@ repo, dbrepo = r_dbr if repo is None or dbrepo is None: - log.error('Repository %s looks somehow corrupted', r_name) + log.error('Repository "%s" looks somehow corrupted ' + 'fs-repo:%s,db-repo:%s both values should be ' + 'present', r_name, repo, dbrepo) continue last_change = repo.last_change tip = h.get_changeset_safe(repo, 'tip')