Modify ↓
Opened 16 years ago
Closed 16 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
26 26 mergeprop = props and props.get('svn:mergeinfo') 27 27 return mergeprop and mergeprop.split('\n') or [] 28 28 29 class SimpleContainer(object): 30 """Simple container for enhancer parameters""" 31 32 def __init__(self): 33 pass 29 34 30 35 class MergeInfoEnhancer(RevtreeEnhancer): 31 36 """Enhancer to show merge operation, based on svn:mergeinfo properties. … … 105 110 srcbrs[srcbr]) 106 111 # track last useful merge info 107 112 prevmerge = merges 108 return enhancer113 #return enhancer 109 114 110 115 def build(self): 111 116 """Build the enhanced widgets"""
Attachments (0)
Change History (2)
comment:1 Changed 16 years ago by
comment:2 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
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.