bugSavane - Bugs: bug #9273, SVN commits doesn't annotate items...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #9273: SVN commits doesn't annotate items correct if root_as_url_component = 0

Submitted by:  Rudy Gevaert <rudy>
Submitted on:  Mon 04 Jun 2007 08:07:05 AM UTC  
 
Category: BackendStatus: In Progress
Severity: 4 - ImportantPriority: C - Normal
Assigned to: NoneOpen/Closed: Open
Release: 3.0+2Planned Release: 
Reproducibility: Every TimePrivacy: Public

Mon 04 Jun 2007 08:07:05 AM UTC, original submission:

See also sr #1640

I'm using the option 'root_as_url_component = 0' in my viewcvs.conf file. That means that my revision pages (that are linked to) look like
this

The link the latest savane produces is
this

It puts an ? before rev instead of a &.

In the code I found:

$out .= '<p>(<a href="'.$svn_link.'?rev='.$entry['revision'].'&amp;view=rev">'.sprintf(_("Browse SVN revision %s"), $entry['revision']).'</a>)</p>';

So changing it to:

$out .= '<p>(<a href="'.$svn_link.'&amp;rev='.$entry['revision'].'&amp;view=rev">'.sprintf(_("Browse SVN revision %s"), $entry['revision']).'</a>)</p>';

fixes it.

The underlying problem is (I think) that savane assumes that all links to the viewcvs front end contain the project name as a directory. For example:
http://svn.gna.org/viewcvs/savane/?...

In my case that doesn't work.

We should/could check $svn_link. If there is already an ? in that string we need to use an &, if it doesn't we should use an &. If this is ok I can commit a fix like that to the trunk.

Rudy Gevaert <rudy>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rudy (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup