comparison tests/test-contrib-perf.t @ 39318:c03c5f528e9b

perf: use storage API for resolving manifest node lookup() isn't part of the storage API. And this code shouldn't be accessing manifestlog._revlog directly for the modern code base. So let's port it to the modern API. Note that the previous code was busted for cases where we needed to call lookup() because lookup() isn't exposed by manifestrevlog any more. This change is strictly BC breaking because we no longer support resolving partial nodes. But it is a perf* command and I don't think we should flag the change as such. Differential Revision: https://phab.mercurial-scm.org/D4390
author Gregory Szorc <gregory.szorc@gmail.com>
date Wed, 15 Aug 2018 19:45:39 +0000
parents b95b48a55c36
children 8643219146e1
comparison
equal deleted inserted replaced
39317:eb9b8679c852 39318:c03c5f528e9b
164 $ hg perfloadmarkers 164 $ hg perfloadmarkers
165 $ hg perflog 165 $ hg perflog
166 $ hg perflookup 2 166 $ hg perflookup 2
167 $ hg perflrucache 167 $ hg perflrucache
168 $ hg perfmanifest 2 168 $ hg perfmanifest 2
169 $ hg perfmanifest -m 44fe2c8352bb3a478ffd7d8350bbc721920134d1
170 $ hg perfmanifest -m 44fe2c8352bb
171 abort: manifest revision must be integer or full node
172 [255]
169 $ hg perfmergecalculate -r 3 173 $ hg perfmergecalculate -r 3
170 $ hg perfmoonwalk 174 $ hg perfmoonwalk
171 $ hg perfnodelookup 2 175 $ hg perfnodelookup 2
172 $ hg perfpathcopies 1 2 176 $ hg perfpathcopies 1 2
173 $ hg perfrawfiles 2 177 $ hg perfrawfiles 2