Mercurial > hg
diff tests/test-churn.t @ 32224:6b582f9b6e5e
perf: don't clobber startrev variable
Previously, the "startrev" argument would be ignored due to
"startrev = 0" in the benchmark function. This meant that
`hg perfrevlog` always started at revision 0.
Rename the local variable to "beginrev" so the variable does the
right thing.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 06 May 2017 10:59:38 -0700 |
parents | 1aee2ab0f902 |
children | 81e4f039a0cd |