Fix a race condition in the !RepositoryManager constructor.
Fix a race condition in the !RepositoryManager constructor.

The problem can be easily reproduced when starting a dozen simultaneous queries on a server which has just been initialized. This triggers the following errors related to the svn_fs vc backend:
{{{
'Pool' object has no attribute '_pool'
}}}
or:
{{{
AttributeError: 'SubversionConnector' object has no attribute 'has_subversion'
}}}

Actually, ''all'' the component constructors are subject to multi-threading issues, this one was just the one that presented some symptoms. There should actually be some kind of locking at the level of `maybe_init` in `trac.core`.

I'll try that as a second step, as for now that local fix in the `RepositoryManager.__init__` constructor is enough to get rid of the reported problems.

git-svn-id: 0d96b0c1a6983ccc08b3732614f4d6bfcf9cbb42@6123 af82e41b-90c4-0310-8c96-b1721e28e2e2

rbaumg/trac,rbaumg/trac,rbaumg/trac,rbaumg/trac