Mercurial > hg
diff tests/test-issue586.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 | 4591cd6b6794 |
children | eb586ed5d8ce |