comparison hgeditor @ 21548:651d7548a744

revsetbenchmark: automatically finds the perf extension Before this changeset, you had to stand in the root of the mercurial repo to run the `revsetbenchmark.py` script. Otherwise, the perf extension would not be found a `./contrib/perf.py` and the script would crash in panic. We now figure out the contrib directory from the location of this script. This makes it possible to run the script from other location that the mercurial repo root (but you still need to be in the core mercurial repository)
author Pierre-Yves David <pierre-yves.david@fb.com>
date Tue, 29 Apr 2014 13:18:22 -0700
parents 2b440bb8a66b
children 1aee2ab0f902
comparison
equal deleted inserted replaced
21546:cb0e28d61905 21548:651d7548a744