Modify

Opened 9 years ago

Closed 9 years ago

#3639 closed defect (fixed)

patch to MergeInfoEnhancer in trunk

Reported by: ghama Owned by: Emmanuel Blot
Priority: normal Component: RevtreePlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

I like the new features of 0.6(for tag) very much. But MergeInfoEnhancer doesn't work

now. I believe it will be fixed soon but the following patch is useful for workaround.

  • mergeinfoenhancer/mergeinfoenhancer/enhancer.py

     
    2626    mergeprop = props and props.get('svn:mergeinfo')
    2727    return mergeprop and mergeprop.split('\n') or []
    2828
     29class SimpleContainer(object):
     30    """Simple container for enhancer parameters"""
     31   
     32    def __init__(self):
     33        pass
    2934
    3035class MergeInfoEnhancer(RevtreeEnhancer):
    3136    """Enhancer to show merge operation, based on svn:mergeinfo properties.
     
    105110                                                   srcbrs[srcbr])
    106111                    # track last useful merge info
    107112                    prevmerge = merges
    108         return enhancer
     113        #return enhancer
    109114               
    110115    def build(self):
    111116        """Build the enhanced widgets"""

Attachments (0)

Change History (2)

comment:1 Changed 9 years ago by petram@…

I've implemented the patch, but still getting the same error "SimpleContainer not defined". I've rebuilt the egg, remove old egg, reinstalled new one, restarted the server, enabled the plug in. Any help is appreciated.

comment:2 Changed 9 years ago by Emmanuel Blot

Resolution: fixed
Status: newclosed

Fixed in [4696], same as #4006.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Emmanuel Blot.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.