diff --git a/contrib/revsetbenchmarks.py b/contrib/revsetbenchmarks.py index 3bb6f5f478a70084782ad6ca9a31624a8ff3dd72_Y29udHJpYi9yZXZzZXRiZW5jaG1hcmtzLnB5..ddb2a648fdbd89141c4088009e8ae53409d890f5_Y29udHJpYi9yZXZzZXRiZW5jaG1hcmtzLnB5 100755 --- a/contrib/revsetbenchmarks.py +++ b/contrib/revsetbenchmarks.py @@ -209,8 +209,14 @@ revset = '%s(%s)' % (var, revset) return revset - -parser = OptionParser(usage="usage: %prog [options] <revs>") +helptext="""This script will run multiple variants of provided revsets using +different revisions in your mercurial repository. After the benchmark are run +summary output is provided. Use itto demonstrate speed improvements or pin +point regressions. Revsets to run are specified in a file (or from stdin), one +revsets per line. Line starting with '#' will be ignored, allowing insertion of +comments.""" +parser = OptionParser(usage="usage: %prog [options] <revs>", + description=helptext) parser.add_option("-f", "--file", help="read revset from FILE (stdin if omitted)", metavar="FILE")