Mercurial > hg
diff mercurial/policy.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 | 56148133ef36 |
children | a04f5c651e52 |