Opened 10 years ago

Closed 10 years ago

#3008 closed defect (fixed)

Method previous_rev() with 3 arguments

Reported by: marble Owned by: Herbert Valerio Riedel
Priority: normal Component: GitPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


In order to make work properly Git with Trac and avoid an error when visualizing changesets, I have had to change file 'gitplugin/0.11/tracext/git/', and add a third argument:

line 252: def previous_rev(self, rev, path=):

It seems like Trac calls previous_rev() with 3 arguments when GitPlugin's original method has 2 arguments.

Attachments (1)

gitplugin-prevrev.patch (419 bytes) - added by Christian Zuckschwerdt 10 years ago.

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by Christian Zuckschwerdt

Attachment: gitplugin-prevrev.patch added

comment:1 Changed 10 years ago by anonymous

+1. works lika a charm

Trac: 0.11 Python: 2.5.2 (r252:60911, Apr 21 2008, 11:17:30) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] setuptools: 0.6c8 pyPgSQL: 2.5.1 Genshi: 0.5.1 GIT: jQuery: 1.2.3

comment:2 Changed 10 years ago by Herbert Valerio Riedel

Resolution: fixed
Status: newclosed

(In [4147]) GitPlugin: add (ignored) path argument to previous_rev method (fixes #3008)

comment:3 Changed 10 years ago by anonymous

Resolution: fixed
Status: closedreopened

comment:4 Changed 10 years ago by anonymous

Resolution: fixed
Status: reopenedclosed

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Herbert Valerio Riedel.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.