diff -r 936530f8d32c -r 45be3a9debe6 hooks/__init__.py --- a/hooks/__init__.py Wed Jul 27 14:22:32 2011 +0200 +++ b/hooks/__init__.py Wed Jul 27 14:24:40 2011 +0200 @@ -57,7 +57,7 @@ or not repo.config.source_enabled(source) or not source.config['synchronize']): continue - session = repo.internal_session() + session = repo.internal_session(safe=True) try: stats = source.pull_data(session) if stats.get('created'):