Patchwork perfrevlogwrite: fix a typo in the option name

login
register
mail settings
Submitter Boris Feld
Date Dec. 20, 2018, 9:21 a.m.
Message ID <0cfe1357cdc677e1b2d4.1545297702@localhost.localdomain>
Download mbox | patch
Permalink /patch/37265/
State Accepted
Headers show

Comments

Boris Feld - Dec. 20, 2018, 9:21 a.m.
# HG changeset patch
# User Boris Feld <boris.feld@octobus.net>
# Date 1545184668 -3600
#      Wed Dec 19 02:57:48 2018 +0100
# Node ID 0cfe1357cdc677e1b2d44243e29d0e1882c7156b
# Parent  4277e20cfec410dc1a4943c5f9a73813076dc804
# EXP-Topic sparse-revlog-corner-cases
# Available At https://bitbucket.org/octobus/mercurial-devel/
#              hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 0cfe1357cdc6
perfrevlogwrite: fix a typo in the option name

The submitted patches was apparently damaged, and a 's' was missing.
Pulkit Goyal - Dec. 20, 2018, 10:17 a.m.
On Thu, Dec 20, 2018 at 12:23 PM Boris Feld <boris.feld@octobus.net> wrote:

> # HG changeset patch
> # User Boris Feld <boris.feld@octobus.net>
> # Date 1545184668 -3600
> #      Wed Dec 19 02:57:48 2018 +0100
> # Node ID 0cfe1357cdc677e1b2d44243e29d0e1882c7156b
> # Parent  4277e20cfec410dc1a4943c5f9a73813076dc804
> # EXP-Topic sparse-revlog-corner-cases
> # Available At https://bitbucket.org/octobus/mercurial-devel/
> #              hg pull https://bitbucket.org/octobus/mercurial-devel/ -r
> 0cfe1357cdc6
> perfrevlogwrite: fix a typo in the option name
>
> The submitted patches was apparently damaged, and a 's' was missing.
>

Queued this, many thanks!

Patch

diff --git a/contrib/perf.py b/contrib/perf.py
--- a/contrib/perf.py
+++ b/contrib/perf.py
@@ -1747,7 +1747,7 @@  def perfrevlogwrite(ui, repo, file_=None
 
     lazydeltabase = opts['lazydeltabase']
     source = opts['source']
-    clearcaches = opts['clear_cache']
+    clearcaches = opts['clear_caches']
     validsource = (b'full', b'parent-1', b'parent-2', b'parent-smallest',
                    b'storage')
     if source not in validsource: