Changeset - 08ac2c3ae810
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 15 years ago 2011-04-17 16:26:40
marcin@python-works.com
added some info to corrupted repo message that helps diagnose the cause from log itself.
1 file changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rhodecode/model/scm.py
Show inline comments
 
@@ -140,7 +140,9 @@ class ScmModel(BaseModel):
 
                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')
0 comments (0 inline, 0 general)