Ticket #3008 (closed defect: fixed)

Opened 4 months ago

Last modified 2 weeks ago

Method previous_rev() with 3 arguments

Reported by: marble Assigned to: hvr
Priority: normal Component: GitPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

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/git_fs.py', 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

gitplugin-prevrev.patch (419 bytes) - added by zany on 07/17/08 12:23:09.

Change History

07/17/08 12:23:09 changed by zany

  • attachment gitplugin-prevrev.patch added.

08/17/08 03:11:01 changed 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: 1.5.4.3 jQuery: 1.2.3

08/17/08 04:18:30 changed by hvr

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #3008 (Method previous_rev() with 3 arguments)




Change Properties
Action