Download:
child 3:fcad8f89072b
parent 1:cb057921cd8c
2:201f7e7e5ec8
Anton Shestakov <engored@ya.ru>, Sat, 02 May 2015 02:56:30 +0800
bench: default revsets should be an iterable

1 файлов изменено, 1 вставок(+), 1 удалений(-) [+]
bench.py file | annotate | diff | comparison | revisions
--- a/bench.py Sat May 02 01:52:26 2015 +0800
+++ b/bench.py Sat May 02 02:56:30 2015 +0800
@@ -25,7 +25,7 @@
parser = ArgumentParser(description='Benchmark revisions and put results in the db.')
-parser.add_argument('revsets', metavar='REVSET', default='last(all(), 120)', nargs='*', help='update these revisions')
+parser.add_argument('revsets', metavar='REVSET', default=('last(all(), 120)',), nargs='*', help='update these revisions')
parser.add_argument('--retry', action='store_true', help='try and reduce existing timings')