Edgewall Software

Changes between Initial Version and Version 2 of Ticket #12027


Ignore:
Timestamp:
Apr 9, 2015, 6:17:45 AM (9 years ago)
Author:
Jun Omae
Comment:

I don't think it is needed to use a tuple for RevCache class while improving it at #11971. We could remove use of a tuple from the RevCache class. See [c5d122a9c/jomae.git] (jomae.git@t12027.2 on 1.0-stable).

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12027 – Description

    initial v2  
    11There is a refactoring task captured in this comment: [browser:/tags/trac-1.0.4/tracopt/versioncontrol/git/PyGIT.py@:245-250#L241].
    22
    3 `namedtuple` is actually available since Python 2.6, however we cannot simply replace the class since it has been extended with methods in [11351]. We can, however, inherit from a `namedtuple` and implement the methods from [11351].
     3`namedtuple` is actually available since Python 2.6, however we cannot simply replace the class since it has been extended with methods in [13951]. We can, however, inherit from a `namedtuple` and implement the methods from [13951].