Changeset 761 in tailor


Ignore:
Timestamp:
09/04/05 00:38:12 (8 years ago)
Author:
lele@…
Hash name:
20050903223812-97f81-41cec0353df98b39bf236749636bae9391690bfb
Message:

Test the before-commit hook with a function that adjust the author name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vcpx/tests/tailor.py

    r759 r761  
    66# 
    77 
    8 """ 
     8"""\ 
     9#!tailor 
     10''' 
    911[DEFAULT] 
    1012target-module = None 
     
    106108start-revision = INITIAL 
    107109subdir = cmsmini 
     110before-commit = remap_authors 
    108111 
    109112[cvs:cmsmini] 
     
    153156[hg:pyobjc] 
    154157subdir = hg 
     158''' 
     159 
     160def remap_authors(context, changeset): 
     161    if changeset.author == 'tizziano': 
     162        changeset.author = 'tiziano' 
     163    return True 
    155164""" 
    156165 
Note: See TracChangeset for help on using the changeset viewer.