Mercurial > hg
comparison tests/test-narrow-strip.t @ 49578:aab3d4c05720 stable
profile: prevent a crash when line number is unknown
For some unknown reason, `self.lineno` can be None. The previous code crashed in
such case, we now ignore the case, as we do for other error in this function.
We also fallback to using `-1` in the output when this lack of line number
makes it to the display code.
The reason of unknown line-numbers is… unknown.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sat, 12 Nov 2022 02:30:41 +0100 |
parents | 4a81d82474e9 |
children |
comparison
equal
deleted
inserted
replaced
49576:d12446766a35 | 49578:aab3d4c05720 |
---|