Changes between Version 2 and Version 3 of SandBox


Ignore:
Timestamp:
09/29/05 17:07:26 (8 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SandBox

    v2 v3  
    77== byteshack paste bin == 
    88{{{ 
    9 """ 
    10 [DEFAULT] 
    11 verbose = True 
    12 encoding = ascii 
    13  
    14 [project] 
    15 target = hg:target 
    16 start-revision = INITIAL 
    17 root-directory = C:\\src\\tailortest\\repo 
    18 state-file = tailor.state 
    19 source = svn:source 
    20 subdir = . 
    21 post-commit = verifier 
    22  
    23 [hg:target] 
    24  
    25 [svn:source] 
    26 module = /trunk/ 
    27 repository = http://repository.vikus.net/Vikus-AllInOne/ 
    28 """ 
    29  
    30 def verifier(context, changeset): 
    31     raise Exception("Did we get here?") 
    32     from vcpx.shwrap import ExternalCommand, PIPE 
    33     cmd = context.repository.command('status') 
    34     status = ExternalCommand(cwd=context.repository.basedir, command=cmd, stdout=PIPE) 
    35     output = status.execute()[0] 
    369}}}