Changeset - ee801aa6292c
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 15 years ago 2010-11-24 19:16:06
marcin@python-works.com
changes transient to expunge on cached repo instances, due to odd very rare problems with previos approach.
1 file changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rhodecode/model/scm.py
Show inline comments
 
@@ -180,7 +180,9 @@ class ScmModel(BaseModel):
 
                .options(joinedload(Repository.user))\
 
                .filter(Repository.repo_name == repo_name)\
 
                .scalar()
 
            make_transient(dbrepo)
 

	
 
            self.sa.expunge(dbrepo)
 

	
 
            repo.dbrepo = dbrepo
 
            return repo
 

	
0 comments (0 inline, 0 general)