comparison mercurial/windows.py @ 28494:63653147e9bb

changelog: parse description last Before, we first searched for the double newline as the first step in the parse then moved to the front of the string and worked our way to the back again. This made sense when we were splitting the raw text on the double newline. But in our new newline scanning based approach, this feels awkward. This patch updates the parsing logic to parse the text linearly and deal with the description field last. Because we're avoiding an extra string scan, revsets appear to demonstrate a very slight performance win. But the percentage change is marginal, so the numbers aren't worth reporting.
author Gregory Szorc <gregory.szorc@gmail.com>
date Sun, 06 Mar 2016 13:13:54 -0800
parents 912255f8f087
children 3239e2fdd2e2
comparison
equal deleted inserted replaced
28493:7796473c11b3 28494:63653147e9bb