Patchwork [01,of,10] perf: fix perfrevlogwrite --count documentation

login
register
mail settings
Submitter Pierre-Yves David
Date June 13, 2019, 1:22 p.m.
Message ID <4aed1b2d0ba4e063f564.1560432176@nodosa.octopoid.net>
Download mbox | patch
Permalink /patch/40479/
State Accepted
Headers show

Comments

Pierre-Yves David - June 13, 2019, 1:22 p.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@octobus.net>
# Date 1560355001 -3600
#      Wed Jun 12 16:56:41 2019 +0100
# Node ID 4aed1b2d0ba4e063f5647eabad47a084cea628bc
# Parent  a97b12f726e4a5deb3cd23725a8a97ae558ca057
# EXP-Topic delta-extra
# Available At https://bitbucket.org/octobus/mercurial-devel/
#              hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 4aed1b2d0ba4
perf: fix perfrevlogwrite --count documentation

The help text was copy pasted from the previous option.

Patch

diff --git a/contrib/perf.py b/contrib/perf.py
--- a/contrib/perf.py
+++ b/contrib/perf.py
@@ -2076,7 +2076,7 @@  def perfrevlogrevisions(ui, repo, file_=
 @command(b'perfrevlogwrite', revlogopts + formatteropts +
          [(b's', b'startrev', 1000, b'revision to start writing at'),
           (b'', b'stoprev', -1, b'last revision to write'),
-          (b'', b'count', 3, b'last revision to write'),
+          (b'', b'count', 3, b'number of pass to perform'),
           (b'', b'details', False, b'print timing for every revisions tested'),
           (b'', b'source', b'full', b'the kind of data feed in the revlog'),
           (b'', b'lazydeltabase', True, b'try the provided delta first'),