diff contrib/perf.py @ 30589:be5b2098a817

revlog: merge hash checking subfunctions This patch factors the behavior of both methods into 'checkhash'.
author Remi Chaintron <remi@fb.com>
date Tue, 13 Dec 2016 14:21:36 +0000
parents 94ca0e13d1fc
children b6f455a6e4d6
line wrap: on
line diff
--- a/contrib/perf.py	Fri Dec 09 03:22:26 2016 -0800
+++ b/contrib/perf.py	Tue Dec 13 14:21:36 2016 +0000
@@ -999,7 +999,7 @@
     def dohash(text):
         if not cache:
             r.clearcaches()
-        r._checkhash(text, node, rev)
+        r.checkhash(text, node, rev=rev)
 
     def dorevision():
         if not cache: