* atomic <[email protected]> [2011-08-24 15:43]:
> Sometimes we get "no revision xyz in the repository" and on every hit
> on "Browse Source", the head revisions displayed change between the
> actual head revision or an old one (including the old commit message).
> We can workaround that by restarting apache or by performing a
> repository resync "*". Also, setting cached_repository=false and
> persistent_cache=false work (but is slow).

I once analysed the code for generating the cache. Unfortunately it
dosen't work with repos with non-linear history, ie. when commit can have
more the one parent, only one path is then cached.
I hope to have some time to implement it in different way to handle git
repos, as we see the same problem with performance. Unfortunately it
doesn't look as a trivial fix, and I did have more important tasks all
the time :(

So short answer is: you can't use "cached_repository = true" for now
for git repositories :(
 
> We use the original trac-post-receive-hook-0.12-new-commits-from-all-
> branches.py post-receive script and permissions on the trac install
> are ok.

BTW, I just uploaded a new fixed version.

-- 
silk

-- 
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.

Reply via email to