Modify

Opened 14 years ago

Last modified 14 years ago

#6816 reopened defect

[Patch] In 0.12 branch, use RepositoryManager.getrepository(self.env) rather than self.env.get_repository()

Reported by: jasminlapalme@… Owned by: Emmanuel Blot
Priority: normal Component: RevtreePlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description

In trac 0.12 self.env.get_repository have change a little bit. We must use self.env.get_repository(authname=authname).

I made a patch to make it work.

Attachments (2)

get_repository_r7780.patch (1.0 KB) - added by jasminlapalme@… 14 years ago.
TracRevTree-0.12-get_repository.patch (2.0 KB) - added by anonymous 14 years ago.
TracRevTree 0.12 get_repository_patch

Download all attachments as: .zip

Change History (6)

Changed 14 years ago by jasminlapalme@…

Attachment: get_repository_r7780.patch added

Changed 14 years ago by anonymous

TracRevTree 0.12 get_repository_patch

comment:1 Changed 14 years ago by anonymous

All Repository request should use RepositoryManager as described in http://trac.edgewall.org/wiki/TracDev/ApiChanges/0.12

Here is the patch that make it work with 0.12 stable

comment:2 Changed 14 years ago by Ryan J Ollos

Resolution: fixed
Status: newclosed

Fixed in [8057].

comment:3 Changed 14 years ago by Ryan J Ollos

Resolution: fixed
Status: closedreopened

On second look, the change suggest in comment:2 should probably be made per the suggestion on the Trac API Changes for 0.12 page.

comment:4 Changed 14 years ago by Ryan J Ollos

Summary: [patch] self.env.get_repository(authname) with trac 0.12 dev[Patch] In 0.12 branch, use RepositoryManager.getrepository(self.env) rather than self.env.get_repository()

Modify Ticket

Change Properties
Set your email in Preferences
Action
as reopened The owner will remain Emmanuel Blot.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.