සුමිත් ගමගේ wrote:
> On 5/29/07, Noah Kantrowitz <[EMAIL PROTECTED]> wrote:
>
>>> Can I start to use 0.12? Is there any place to get it? Any ideas how
>>> stable will it be by now? When Trac plan to release it.
>>>
>>>
>> Considering 0.11dev is what is currently being developed, check back in
>> about a year ....
>>
>
> Oops! I cannot wait years at all. Then the only solution seems to be
> the patch suggested by Christian. I am waiting for it.
>
The patch was quite simple, it's only about skipping the use of the
CachedRepository. I'd be interested to hear if it works fully for you,
as I only did some superficial testing. If so, I'll apply it.
One thing that will /not/ work in your "experimental" setup are
changeset:, source: and log: links, unless you use intertrac links
specifying which env and therefore which repository you're targeting.
I wonder also if this setup (several trac envs using the same db)
wouldn't be prone to new exotic cases of db lock ups ;-)
-- Christian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---
Index: trac/versioncontrol/svn_fs.py
===================================================================
--- trac/versioncontrol/svn_fs.py (revision 5545)
+++ trac/versioncontrol/svn_fs.py (working copy)
@@ -222,6 +222,7 @@
def get_supported_types(self):
global has_subversion
if has_subversion:
+ yield ("direct-svnfs", 4)
yield ("svnfs", 4)
yield ("svn", 2)
@@ -232,7 +233,11 @@
unless `direct-svn-fs` is the specified type.
"""
repos = SubversionRepository(dir, None, self.log)
- crepos = CachedRepository(self.env.get_db_cnx(), repos, None, self.log)
+ if type == 'direct-svnfs':
+ crepos = repos # "crepos" stands now for "chosen repos" ;-)
+ else:
+ crepos = CachedRepository(self.env.get_db_cnx(), repos, None,
+ self.log)
if authname:
authz = SubversionAuthorizer(self.env, crepos, authname)
repos.authz = crepos.authz = authz