Changes between Initial Version and Version 2 of Ticket #2672


Ignore:
Timestamp:
May 23, 2013, 7:36:54 AM (11 years ago)
Author:
Ryan J Ollos
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2672 – Description

    initial v2  
    11When loading the Git plugin (for the trac .11 release) I get:
    22
     3{{{
    34Trac detected an internal error:
    45UnboundLocalError: local variable 'rev' referenced before assignment
     6}}}
    57
    6 If I go into the source of the TracGit module, and execute PyGit.py, I get a similar error:
     8If I go into the source of the !TracGit module, and execute `PyGit.py`, I get a similar error:
    79
     10{{{
    811draal:~/gitplugin/0.11/tracext/git$ python PyGIT.py /data/git/[scrubbed]/.git
    912git version [{'v_tuple': (1, 5, 2, 5), 'v_min_tuple': (1, 5, 2), 'v_compatible': True, 'v_min_str': '1.5.2', 'v_str': '1.5.2.5'}]
     
    2124    oldest = rev
    2225UnboundLocalError: local variable 'rev' referenced before assignment
     26}}}
    2327
    2428This was from the latest zip file that was pulled down Feb 26, 2008