Changeset 2638

Show
Ignore:
Timestamp:
09/14/07 18:02:21 (1 year ago)
Author:
eblot
Message:
  • Add existing SVN hook scripts.
    • These scripts are currently being reworked (quick & dirty implementation)
  • Update logenhancer.py to support the SVN hook scripts
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • revtreeplugin/0.11/enhancers/logenhancer/logenhancer/logenhancer.py

    r2359 r2638  
    2929    """Revtree enhancer based on specific log messages and custom properties 
    3030    This class is provided as-is, as an example 
     31 
     32    'rth' stands for 'RevTree Hack', as I've been unable to come with a  
     33    better name. 
    3134    """ 
    3235     
     
    7073                continue 
    7174            for chgset in branch.changesets(): 
    72                 if chgset.prop('st:export'): 
     75                if chgset.prop('rth:export'): 
    7376                    svgchgset = svgbranch.svgchangeset(chgset) 
    7477                    svgchgset.set_shape('hexa') 
    7578                msg = chgset.changeset.message.lower() 
    7679                if msg.startswith('delivers'): 
    77                     deliver = chgset.prop('st:deliver') 
     80                    deliver = chgset.prop('rth:deliver') 
    7881                    if not deliver: 
    7982                        continue 
     
    102105                    svgchgset.set_shape('Circle') 
    103106                elif msg.startswith('brings'): 
    104                     bring = chgset.prop('st:bring') 
     107                    bring = chgset.prop('rth:bring') 
    105108                    if not bring: 
    106109                        continue