Mercurial > ~astiob > upreckon > hgweb
diff test-svn.py @ 33:f90bd2d1a12b
Converted revision reporting from SVN to hg.
author | Oleg Oshmyan <chortos@inbox.lv> |
---|---|
date | Mon, 29 Nov 2010 22:15:01 +0000 |
parents | 5bfa23cd638d |
children |
line wrap: on
line diff
--- a/test-svn.py Mon Nov 29 01:24:22 2010 +0000 +++ b/test-svn.py Mon Nov 29 22:15:01 2010 +0000 @@ -3,8 +3,7 @@ import os, sys, shutil, time, subprocess, filecmp, optparse, signal, tempfile, tarfile, zipfile -# $Rev$ -version = '1.21.0 (SVN r$$REV$$)' +version = '1.21.0 ($$REV$$)' parser = optparse.OptionParser(version='test.py '+version, usage='usage: %prog [options] [problem names] [[path' + os.path.sep + 'to' + os.path.sep + ']solution-app] [test case numbers]\n\nTest case numbers can be specified in plain text or as a Python expression\nif there is only one positional argument.\n\nOnly problem names listed in testconf.py are recognized.') parser.add_option('-u', '--update', dest='update', action='store_true', default=False, help='check for an updated version of test.py') parser.add_option('-e', '--exclude', dest='exclude', action='append', help='test case number(s) to exclude, as a Python expression; multiple -e options can be supplied')