| 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] |