Modify ↓
Opened 15 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: | 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)
Change History (6)
Changed 15 years ago by
Attachment: | get_repository_r7780.patch added |
---|
Changed 15 years ago by
Attachment: | TracRevTree-0.12-get_repository.patch added |
---|
comment:1 Changed 15 years ago by
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:3 Changed 14 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
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
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() |
---|
Note: See
TracTickets for help on using
tickets.
TracRevTree 0.12 get_repository_patch