On 1/13/07, Christian Boos <[EMAIL PROTECTED]> wrote:
> Ah, that's a different beast then.
> First the above message should have showed up in the "title" of the th
> corresponding to the blame column.

Right, I'm seeing that now (it just shows when I hover the column
header, not when I click it -- in fact, I think clicking the header
probably prevents it from showing).

> Then, look again in the log, you should see the actual URL used for the
> ra_local session, because of the following statement:
>
>             self.repos.log.info('opening ra_local session to' + repo_url)
>
> Can you 'svn ls' that URL?

Since I'm using a scoped repos, I applied your patch first. After
that, it still didn't work.

[EMAIL PROTECTED] nts $ tail log/trac.log
2007-01-13 18:27:56,866 Trac[svn_fs] INFO: opening ra_local session
tofile:////var/svn/xm
2007-01-13 18:27:56,949 Trac[api] WARNING: Can't use annotator
'blame': svn blame failed: ("'' is not a file", 160017)
[EMAIL PROTECTED] nts $ svn ls file:////var/svn/xm
aycha/
equilex/
hebe/
(...)
[EMAIL PROTECTED] nts $

> Oh, are you using a scoped repos?
> If yes, try this patch:
>
> Index: trac/versioncontrol/svn_fs.py
> ===================================================================
> --- trac/versioncontrol/svn_fs.py    (revision 4561)
> +++ trac/versioncontrol/svn_fs.py    (working copy)
> @@ -672,8 +672,7 @@
>                  annotations.append(revision)
>              rev = _svn_rev(self.rev)
>              start = _svn_rev(0)
> -            repo_url = 'file:///%s%s' % (self.repos.path,
> -                                         self._scoped_svn_path)
> +            repo_url = 'file:///%s' % self.repos.path
>              self.repos.log.info('opening ra_local session to' + repo_url)
>              from svn import client
>              try:
>
>
> That's most certainly it.

So, what now? And it shouldn't it become file:///var instead of
file:////var (though it obviously doesn't matter)?

Regards,

Manuzhai

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To post to this group, send email to trac-dev@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to