Changes between Version 1 and Version 2 of SandBox


Ignore:
Timestamp:
09/29/05 16:59:14 (8 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SandBox

    v1 v2  
    44 
    55Go ahead, edit it freely. 
     6 
     7== byteshack paste bin == 
     8{{{ 
     9""" 
     10[DEFAULT] 
     11verbose = True 
     12encoding = ascii 
     13 
     14[project] 
     15target = hg:target 
     16start-revision = INITIAL 
     17root-directory = C:\\src\\tailortest\\repo 
     18state-file = tailor.state 
     19source = svn:source 
     20subdir = . 
     21post-commit = verifier 
     22 
     23[hg:target] 
     24 
     25[svn:source] 
     26module = /trunk/ 
     27repository = http://repository.vikus.net/Vikus-AllInOne/ 
     28""" 
     29 
     30def 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] 
     36}}}