Patchwork [3,of,5] perf: fix perfvolatilesets

login
register
mail settings
Submitter Pierre-Yves David
Date Dec. 24, 2013, 12:32 a.m.
Message ID <1612cb8211a52d6f19cf.1387845140@marginatus.fb.com>
Download mbox | patch
Permalink /patch/3233/
State Accepted
Commit d67a7758da6d21e85da24905bb23d950f256eaef
Headers show

Comments

Pierre-Yves David - Dec. 24, 2013, 12:32 a.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@ens-lyon.org>
# Date 1387843491 28800
#      Mon Dec 23 16:04:51 2013 -0800
# Node ID 1612cb8211a52d6f19cf1b896a8b138c62ba272a
# Parent  df0ed06fa7692e4091c017fb3ed746d8e1c25b8d
perf: fix perfvolatilesets

The repoview's `filteredrevs` has been renamed to `filterrevs` at some point.
perf was never informed.

Patch

diff --git a/contrib/perf.py b/contrib/perf.py
--- a/contrib/perf.py
+++ b/contrib/perf.py
@@ -359,11 +359,11 @@  def perfvolatilesets(ui, repo, *names):
         timer(getobs(name), title=name)
 
     def getfiltered(name):
         def d():
             repo.invalidatevolatilesets()
-            repoview.filteredrevs(repo, name)
+            repoview.filterrevs(repo, name)
         return d
 
     allfilter = sorted(repoview.filtertable)
     if names:
         allfilter = [n for n in allfilter if n in names]