Manuzhai wrote:
> 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).
>
>   

Ok, as I said, this could probably be improved. I have a few ideas, like 
allowing the annotator to output a full row in the table heading; that 
could be used for error reporting as well as for other fancy stuff...

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

Sorry, that patch was not OK, the URL should point to the file itself.

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

So this might have been the reason...
Let's try something else.

Index: svn_fs.py
===================================================================
--- svn_fs.py    (revision 4561)
+++ svn_fs.py    (working copy)
@@ -672,9 +672,9 @@
                 annotations.append(revision)
             rev = _svn_rev(self.rev)
             start = _svn_rev(0)
-            repo_url = 'file:///%s%s' % (self.repos.path,
+            repo_url = 'file:///%s%s' % (self.repos.path.lstrip('/'),
                                          self._scoped_svn_path)
-            self.repos.log.info('opening ra_local session to' + repo_url)
+            self.repos.log.info('opening ra_local session to ' + repo_url)
             from svn import client
             try:
                 client.blame2(repo_url, rev, start, rev, blame_receiver,


-- Christian


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