Mercurial > hg
diff hgext/eol.py @ 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 | fe9b33bcec6a |
children | 74930cf4a10e |